-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (53 loc) · 1.55 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: "3"
services:
cache:
image: redis:6
ports:
- 6378:6379
healthcheck:
test: ["CMD-SHELL", "[ $$(redis-cli ping) = 'PONG' ]"]
interval: 10s
timeout: 5s
retries: 5
start_interval: 5s
start_period: 30s
directus:
image: directus/directus:11.3.5
ports:
- 8055:8055
volumes:
- ./extensions:/directus/extensions
depends_on:
cache:
condition: service_healthy
environment:
PUBLIC_URL: ${PUBLIC_URL}
SECRET: ${SECRET}
DB_CLIENT: ${DB_CLIENT}
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
DB_DATABASE: ${DB_DATABASE}
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
CACHE_ENABLED: ${CACHE_ENABLED}
CACHE_AUTO_PURGE: ${CACHE_AUTO_PURGE}
CACHE_STORE: ${CACHE_STORE}
REDIS: ${REDIS}
ADMIN_EMAIL: ${ADMIN_EMAIL}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
STORAGE_LOCATIONS: ${STORAGE_LOCATIONS}
STORAGE_S3_DRIVER: ${STORAGE_S3_DRIVER}
STORAGE_S3_KEY: ${STORAGE_S3_KEY}
STORAGE_S3_SECRET: ${STORAGE_S3_SECRET}
STORAGE_S3_BUCKET: ${STORAGE_S3_BUCKET}
STORAGE_S3_REGION: ${STORAGE_S3_REGION}
STORAGE_S3_ROOT: ${STORAGE_S3_ROOT}
CORS_ENABLED: ${CORS_ENABLED}
AUTH_PROVIDERS: ${AUTH_PROVIDERS}
CORS_ORIGIN: ${CORS_ORIGIN}
EMAIL_FROM: ${EMAIL_FROM}
EMAIL_TRANSPORT: ${EMAIL_TRANSPORT}
EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST}
EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT}
EMAIL_SMTP_USER: ${EMAIL_SMTP_USER}
EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD}