-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
97 lines (92 loc) · 2.02 KB
/
docker-compose.yml
File metadata and controls
97 lines (92 loc) · 2.02 KB
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
services:
db:
image: postgres
environment:
- POSTGRES_PASSWORD=postgres
ports:
- "5432:5432"
networks:
artconomy:
ipv4_address: 10.5.0.2
nginx:
hostname: 'artconomy.vulpinity.com'
build:
dockerfile: docker/nginx_Dockerfile
context: .
container_name: ng01
ports:
- "443:443"
volumes:
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./config/nginx/conf.d:/etc/nginx/conf.d
- ./dev_keys:/etc/nginx/dev_keys
- ./:/var/www
networks:
artconomy:
ipv4_address: 10.5.0.3
depends_on:
- web
- frontend
- companion
redis:
image: redis
ports:
- "6379:6379"
networks:
artconomy:
ipv4_address: 10.5.0.4
web:
ports:
- "8002:8002"
networks:
artconomy:
ipv4_address: 10.5.0.5
extends:
file: common-services.yml
service: django
tgbot:
extends:
file: common-services.yml
service: django
networks:
artconomy:
ipv4_address: 10.5.0.6
command: python manage.py tg_bot
frontend:
command: npm --prefix /app/ run serve
image: node:22.19-alpine
networks:
artconomy:
ipv4_address: 10.5.0.7
ports:
- "8001:8001"
volumes:
- ./:/app/
companion:
command: npx --prefix /app/ companion
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0
- COMPANION_SECRET=aseriuehw4giluwesrbilunsdfijke4twesdf
- COMPANION_DOMAIN=artconomy.vulpinity.com
- COMPANION_PROTOCOL=https
- COMPANION_CLIENT_ORIGINS=true
- COMPANION_DATADIR=/app/media/companion/
- COMPANION_PATH=/companion/
- COMPANION_PORT=3020
- COMPANION_ENABLE_URL_ENDPOINT=true
image: node:22.19-alpine
networks:
artconomy:
ipv4_address: 10.5.0.8
ports:
- "3020:3020"
volumes:
- ./:/app/
networks:
artconomy:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1