-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (57 loc) · 978 Bytes
/
docker-compose.yml
File metadata and controls
63 lines (57 loc) · 978 Bytes
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
51
52
53
54
55
56
57
58
59
60
61
62
63
app:
image: vojtechbartos/smsgw
links:
- mariadb
- rabbitmq
restart: always
env_file: .env
worker:
image: vojtechbartos/smsgw
command: celery -A smsgw.tasks.celery worker
links:
- mariadb
- rabbitmq
restart: always
environment:
C_FORCE_ROOT: 1
env_file: .env
gammu:
image: vojtechbartos/smsgw
command: ./bin/smsd
privileged: true
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
links:
- mariadb
- rabbitmq
restart: always
env_file: .env
nginx:
image: vojtechbartos/nginx
ports:
- "80:80"
links:
- app
restart: always
mariadb:
image: mariadb:5.5
ports:
- "3306:3306"
volumes_from:
- data
restart: always
env_file: .env
rabbitmq:
image: rabbitmq:3.5.6
ports:
- "5672:5672"
volumes_from:
- data
restart: always
env_file: .env
data:
image: cogniteev/echo
command: echo 'Data Container for MariaDB/RabbitMQ'
volumes:
- /var/lib/mysql
- /var/lib/rabbitmq