-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.from-readme.yaml
55 lines (53 loc) · 1.64 KB
/
docker-compose.from-readme.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
version: '3.2'
services:
lgpdjus_api:
container_name: lgpdjus_api
image: its/lgpdjus_api
restart: unless-stopped
network_mode: "bridge"
ports:
- "172.17.0.1:${LGPDJUS_API_PORT}:8080"
volumes:
- ../lgpdjus-data/:/data/
- ./api/:/src/
environment:
REDIS_SERVER: "${REDIS_SERVER}"
REDIS_NS: "${REDIS_NS}"
POSTGRESQL_HOST: "${POSTGRESQL_HOST}"
POSTGRESQL_PORT: "${POSTGRESQL_PORT}"
POSTGRESQL_DBNAME: "${POSTGRESQL_DBNAME}"
POSTGRESQL_USER: "${POSTGRESQL_USER}"
POSTGRESQL_PASSWORD: "${POSTGRESQL_PASSWORD}"
directus:
container_name: lgpdjus_directus
image: directus/directus:9.0.0-rc.85
restart: unless-stopped
network_mode: "bridge"
depends_on:
- lgpdjus_api
ports:
- "172.17.0.1:${LGPDJUS_DIRECTUS_PORT}:8055"
environment:
PUBLIC_URL: "${DIRECTUS_PUBLIC_URL}"
KEY: "${DIRECTUS_KEY}"
SECRET: "${DIRECTUS_SECRET}"
DB_CLIENT: 'pg'
DB_HOST: "${POSTGRESQL_HOST}"
DB_PORT: "${POSTGRESQL_PORT}"
DB_DATABASE: "${POSTGRESQL_DBNAME}"
DB_USER: "${POSTGRESQL_USER}"
DB_PASSWORD: "${POSTGRESQL_PASSWORD}"
EMAIL_FROM: "${EMAIL_SMTP_FROM}"
EMAIL_TRANSPORT: 'smtp'
EMAIL_SMTP_HOST: "${EMAIL_SMTP_HOST}"
EMAIL_SMTP_PORT: "${EMAIL_SMTP_PORT}"
EMAIL_SMTP_USER: "${EMAIL_SMTP_USER}"
EMAIL_SMTP_PASSWORD: "${EMAIL_SMTP_PASSWORD}"
EMAIL_SMTP_SECURE: 'true'
html2pdf:
container_name: lgpdjus_html2pdf
image: oberonamsterdam/wkhtmltopdf:latest
restart: unless-stopped
network_mode: "bridge"
ports:
- "172.17.0.1:${LGPDJUS_WKHTMLTOPDF_PORT}:80"