Skip to content

Commit a8cd85f

Browse files
committed
Clean up
1 parent fb83f59 commit a8cd85f

File tree

3 files changed

+0
-126
lines changed

3 files changed

+0
-126
lines changed

services/rabbit/docker-compose.loadbalancer.yml.j2

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -29,45 +29,12 @@ services:
2929
timeout: 2s
3030
retries: 2
3131
interval: 10s
32-
ports:
33-
- target: 15672
34-
published: 15672
35-
protocol: tcp
36-
mode: host
3732
networks:
3833
- rabbit
3934
configs:
4035
- source: haproxy.cfg
4136
target: /usr/local/etc/haproxy/haproxy.cfg
4237

43-
subscriber:
44-
image: python:3.11
45-
deploy:
46-
replicas: 1
47-
command: sh -c "pip install pika && python /app/sub.py"
48-
environment:
49-
- RABBIT_HOSTS=rabbit-loadbalancer_loadbalancer
50-
- RABBIT_USER=${RABBIT_USER}
51-
- RABBIT_PASS=${RABBIT_PASSWORD}
52-
networks:
53-
- rabbit
54-
volumes:
55-
- ./test/sub.py:/app/sub.py
56-
57-
publisher:
58-
image: python:3.11
59-
deploy:
60-
replicas: 1
61-
command: sh -c "pip install pika && python /app/pub.py"
62-
environment:
63-
- RABBIT_HOSTS=rabbit-loadbalancer_loadbalancer
64-
- RABBIT_USER=${RABBIT_USER}
65-
- RABBIT_PASS=${RABBIT_PASSWORD}
66-
networks:
67-
- rabbit
68-
volumes:
69-
- ./test/pub.py:/app/pub.py
70-
7138
networks:
7239
rabbit:
7340
name: ${RABBIT_NETWORK}

services/rabbit/test/pub.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

services/rabbit/test/sub.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)