-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
69 lines (60 loc) · 1.45 KB
/
docker-compose.yaml
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
version: "3.8"
services:
dns:
build: infrastructure/dns
env_file:
- infrastructure/dns/.env
volumes:
- ./infrastructure/dns/logs:/app/logs/
restart: always
nginx_internal:
image: nginx
volumes:
# SSL Certificates
- ./infrastructure/nginx_internal/certs:/certs/internal:ro
- ./infrastructure/nginx_edge/certs/nginxEdge.crt:/certs/edge/nginxEdge.crt:ro
- ./ca.crt:/certs/ca.crt:ro
# Nginx config file
- ./infrastructure/nginx_internal/config:/etc/nginx/conf.d:ro
# Nginx static files
- ./infrastructure/nginx_internal/html:/app/html:ro
networks:
- app_net
depends_on:
- debug_nginx_internal
- invoice
ports:
- "8443:8443"
restart: always
debug_nginx_internal:
build: services/debug_nginx
networks:
- app_net
restart: always
#tgbot:
# build:
# dockerfile: services/tgbot/Dockerfile
#
# restart: always
# networks:
# - app_net
invoice:
build: services/self-employed
networks:
- app_net
restart: always
cadvisor:
image: gcr.io/cadvisor/cadvisor-arm64:v0.49.1 # Use the version that matches your needs
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
privileged: true
devices:
- /dev/kmsg:/dev/kmsg
restart: always
networks:
app_net:
driver: bridge