-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (33 loc) · 985 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
---
version: "3.3"
services:
printer_production:
build:
context: https://github.com/superquinquin/Brcd-Printer.git#main
env_file: .env_production
image: brcd:latest
container_name: brcd_printer_production
ports:
- "8000:8000"
networks:
- printer
volumes:
- ./volume_production:/home/superquinquin/app/volume
- ./printer_configs/config_production.yaml:/home/superquinquin/app/printer_configs/config_production.yaml
restart: unless-stopped
printer_staging:
build:
context: https://github.com/superquinquin/Brcd-Printer.git#staging
env_file: .env_staging
image: brcd:staging
container_name: brcd_printer_staging
ports:
- "8001:8000"
networks:
- printer
volumes:
- ./volume_staging:/home/superquinquin/app/volume
- ./printer_configs/config_staging.yaml:/home/superquinquin/app/printer_configs/config_staging.yaml
restart: unless-stopped
networks:
printer: