2023-05-04 11:25:37 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
networks:
|
2023-10-25 13:18:03 +00:00
|
|
|
blah2:
|
2023-05-04 11:25:37 +00:00
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
blah2:
|
|
|
|
restart: always
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2023-10-25 13:18:03 +00:00
|
|
|
image: blah2
|
2023-10-26 23:55:12 +00:00
|
|
|
depends_on:
|
|
|
|
- blah2_api
|
2023-05-04 11:25:37 +00:00
|
|
|
volumes:
|
|
|
|
- ./config:/blah2/config
|
2024-01-02 12:25:36 +00:00
|
|
|
- /opt/blah2/save:/blah2/save
|
2024-02-16 04:38:58 +00:00
|
|
|
- /dev/shm:/dev/shm:z
|
2024-01-12 05:36:02 +00:00
|
|
|
- /dev/usb:/dev/usb
|
2023-05-04 11:25:37 +00:00
|
|
|
network_mode: host
|
|
|
|
privileged: true
|
2023-10-25 13:18:03 +00:00
|
|
|
command: >
|
2024-01-20 03:47:27 +00:00
|
|
|
sh -c "/blah2/bin/blah2 -c config/config.yml"
|
2023-05-04 11:25:37 +00:00
|
|
|
container_name: blah2
|
|
|
|
|
2024-02-04 08:30:56 +00:00
|
|
|
blah2_web:
|
2023-05-04 11:25:37 +00:00
|
|
|
restart: always
|
|
|
|
image: httpd:2.4
|
|
|
|
ports:
|
|
|
|
- 49152:80
|
|
|
|
volumes:
|
|
|
|
- ./html:/usr/local/apache2/htdocs
|
|
|
|
networks:
|
2023-10-25 13:18:03 +00:00
|
|
|
- blah2
|
2023-05-04 11:25:37 +00:00
|
|
|
container_name: blah2-web
|
|
|
|
|
|
|
|
blah2_api:
|
|
|
|
restart: always
|
|
|
|
build: ./api
|
2023-10-25 13:18:03 +00:00
|
|
|
image: blah2_api
|
2024-02-08 10:43:51 +00:00
|
|
|
volumes:
|
|
|
|
- ./config:/usr/src/app/config
|
2023-05-04 11:25:37 +00:00
|
|
|
network_mode: host
|
2024-02-08 10:43:51 +00:00
|
|
|
command: >
|
|
|
|
sh -c "node server.js /usr/src/app/config/config.yml"
|
2023-05-04 11:25:37 +00:00
|
|
|
container_name: blah2-api
|