-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (40 loc) · 936 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3'
services:
reciver:
build: ./
image: python-container
# Don't forget to use this name on mysql --host=container_name
container_name: app-reciver
volumes:
- ./reciver:/app
networks:
- join
stdin_open: true
tty: true
appsender:
# Don't forget to use this name on mysql --host=container_name
build: ./
image: flask-app
container_name: appsender
volumes:
- ./sender:/app
networks:
- join
expose:
- "5000"
ports:
- 5000:5000
command: "/app/run.sh"
toxiproxy:
image: shopify/toxiproxy
container_name: toxiproxy
restart: always
expose:
- 22222
ports:
- 8474:8474
networks:
- join
networks:
join:
driver: "bridge"