-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (40 loc) · 869 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (40 loc) · 869 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
version: '3'
networks:
blah2:
external: true
services:
blah2:
restart: always
build: .
image: blah2
tty: true
depends_on:
- blah2_api
volumes:
- ./config:/blah2/config
- /opt/blah2/save:/blah2/save
- /dev/shm:/dev/shm:rw
- /dev/usb:/dev/usb:rw
network_mode: host
privileged: true
command: "/blah2/bin/blah2 -c config/config.yml"
container_name: blah2
blah2_web:
restart: always
image: httpd:2.4
ports:
- 49152:80
volumes:
- ./html:/usr/local/apache2/htdocs
networks:
- blah2
container_name: blah2-web
blah2_api:
restart: always
build: ./api
image: blah2_api
volumes:
- ./config:/usr/src/app/config
network_mode: host
command: "node server.js /usr/src/app/config/config.yml"
container_name: blah2-api