-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
109 lines (97 loc) · 2.21 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
rabbitmq:
image: "rabbitmq:3-management"
hostname: "rabbitmq"
env_file: .env
ports:
- "5672:5672"
- "15672:15672"
net: "host"
container_name: appcivist_rabbitmq
restart: always
rabbitmq-service:
image: "rabbitmq:3"
ports:
- "5672:5672"
restart: always
net: "host"
env_file: .env
apache:
build: ./apache
ports:
- "8081:8080"
- "4444:443"
- "8888:80"
- "9000:9000"
- "9001:9001"
net: "host"
volumes:
- /opt/appcivist/files:/opt/appcivist/files
- ./apache/confs:/etc/apache2/sites-available
- ./apache/deploys:/var/www/html
- ./apache/certs:/etc/apache2/certs
container_name: apache
restart: always
appcivist-pb-client:
build: ./appcivist-frontend
volumes:
- /home/appcivist/production/appcivist-pb-client:/home/appcivist/production/appcivist-pb-client
volumes_from:
- apache
command: "./deploy.sh"
container_name: appcivist-pb-client
env_file: .env
appcivist-plataform:
build: ./appcivist-backend
ports:
- "9000:9000"
volumes:
- /home/appcivist/production/appcivist-platform:/home/appcivist/production/appcivist-platform
command: "./deploy.sh"
net: "host"
volumes_from:
- appcivist-pb-client
container_name: appcivist-plataform
env_file: .env
restart: always
appcivist-voting-api:
build: ./appcivist-voting-api
ports:
- "5001:5001"
volumes:
- /home/appcivist/production/appcivist-voting-api:/home/appcivist/production/appcivist-voting-api
command: bash -c "./deploy.sh"
net: "host"
env_file: .env
container_name: appcivist-voting-api
etherpad-lite:
build: ./etherpad-lite
ports:
- "9001:9001"
net: "host"
env_file: .env
container_name: etherpad-lite
restart: always
appcivist-usnb:
build: ./usnb
ports:
- "3023:3023"
- "3024:3024"
- "3025:3025"
- "3026:3026"
- "3027:3027"
command: bash -c "./deploy.sh production && tail -f /dev/null"
net: "host"
env_file: .env
container_name: appcivist-usnb
restart: always
db:
build: ./postgres
env_file: .env
volumes:
- ./postgres/postgresql.conf:/etc/postgresql/postgresql.conf
- /var/lib/postgresql/data:/var/lib/postgresql/data
net: "host"
ports:
- "5433:5432"
container_name: db
restart: always