-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (69 loc) · 1.72 KB
/
Copy pathdocker-compose.yml
File metadata and controls
77 lines (69 loc) · 1.72 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
services:
db:
image: postgres:16.11-alpine
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready --username=${POSTGRES_USER} --dbname=${POSTGRES_DB}",
]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
start_interval: 5s
backend:
image: directus/directus:11.17
restart: unless-stopped
depends_on:
db:
condition: service_healthy
ports:
- 8055:8055
environment:
SECRET: ${DIRECTUS_SECRET}
DB_CLIENT: postgres
DB_HOST: db
DB_PORT: 5432
DB_USER: ${POSTGRES_USER}
DB_PASSWORD: ${POSTGRES_PASSWORD}
DB_DATABASE: ${POSTGRES_DB}
ADMIN_EMAIL: ${DIRECTUS_ADMIN_EMAIL}
ADMIN_PASSWORD: ${DIRECTUS_ADMIN_PASSWORD}
PUBLIC_URL: https://dndvault.ru
EMAIL_VERIFY_SETUP: false
MCP_ENABLED: false
CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC: "'self' https://dndvault.ru"
QUERY_LIMIT_MAX: 100
volumes:
- uploads:/directus/uploads
frontend:
build:
context: .
dockerfile: web.Dockerfile
restart: unless-stopped
environment:
NITRO_BACKEND_ADDRESS: http://backend:8055
NITRO_STATIC_TOKEN: ${SERVER_STATIC_TOKEN}
NITRO_REPORTS_IP_SALT: ${NITRO_REPORTS_IP_SALT:-}
depends_on:
- backend
proxy:
build:
context: .
dockerfile: proxy.Dockerfile
restart: unless-stopped
depends_on:
- frontend
ports:
- 10034:10034
volumes:
postgres-data:
uploads: