Repository navigation
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
65 lines (59 loc) · 1.73 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
65 lines (59 loc) · 1.73 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
services:
proxy:
image: nginx:latest
container_name: ftsoproxy
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./certs:/etc/nginx/certs
ports:
- "80:80"
- "443:443"
networks:
- ftsoweb
depends_on:
- frontend
- directus
frontend:
container_name: ftso-website
environment:
- MODE=prod
volumes:
- ./:/ftso/webapp
- /ftso/webapp/node_modules
stdin_open: true
tty: true
image: ftso-website
ports:
- 3000:3000
networks:
- ftsoweb
directus:
image: directus/directus:11.2.1
container_name: ftso-directus
ports:
- 8055:8055
volumes:
- ./directus/database:/directus/database
- ./directus/uploads:/directus/uploads
- ./directus/extensions:/directus/extensions
environment:
PUBLIC_URL: 'http://localhost:8055'
HOST: "0.0.0.0"
SECRET: "YZqlxgACzwTYl5s1KWDFnKCt72"
ADMIN_EMAIL: "gt@giorgiotedesco.it"
ADMIN_PASSWORD: "JNBXKrEA7BTzsHw"
DB_CLIENT: "sqlite3"
DB_FILENAME: "/directus/database/data.db"
WEBSOCKETS_ENABLED: "true"
CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC: "https://next.ftso.local/"
#PUBLIC_CORS_ENABLED: "true"
#PUBLIC_CORS_ORIGIN: "http://localhost:3000"
#PUBLIC_SECURITY_HEADERS_CONTENT_SECURITY_POLICY: "child-src 'self' blob: http://localhost:3000"
#PUBLIC_SECURITY_HEADERS_CONTENT_SECURITY_POLICY: "frame-src 'self' http://localhost:3000; child-src 'self' blob: http://localhost:3000;"
#FRAME_OPTIONS: 'ALLOW-FROM http://localhost:3000'
#CONTENT_SECURITY_POLICY: "frame-ancestors 'self' http://localhost:3000;"
networks:
- ftsoweb
networks:
ftsoweb:
driver: bridge