forked from wnstify/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (69 loc) · 1.82 KB
/
docker-compose.yml
File metadata and controls
72 lines (69 loc) · 1.82 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
services:
docuseal-app:
depends_on:
docuseal-postgres:
condition: service_healthy
image: GET-FROM-DOCUSEAL-DASHBOARD
restart: unless-stopped
ports:
- 127.0.0.1:3000:3000
volumes:
- ${PWD}/data:/data/docuseal
environment:
- FORCE_SSL=https://your-domain
- DATABASE_URL=postgresql://${POSTGRES_NON_ROOT_USER}:${POSTGRES_NON_ROOT_PASSWORD}@docuseal-postgres:5432/${POSTGRES_DB}
- GOTENBERG_URLS=http://gotenberg:3000
- SECRET_KEY_BASE=
- SMTP_USERNAME=
- SMTP_PASSWORD=
- SMTP_AUTHENTICATION=
- SMTP_FROM=
- SMTP_ENABLE_STARTTLS_AUTO=true
- SMTP_PORT=587
- SMTP_DOMAIN=
labels:
- "com.centurylinklabs.watchtower.enable=true"
networks:
- docuseal
- docuseal-db
security_opt:
- no-new-privileges:true
docuseal-postgres:
image: postgres:16
restart: unless-stopped
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- POSTGRES_NON_ROOT_USER
- POSTGRES_NON_ROOT_PASSWORD
- PUID=1000
- PGID=1000
volumes:
- ${PWD}/db_storage:/var/lib/postgresql/data
- ${PWD}/init-data.sh:/docker-entrypoint-initdb.d/init-data.sh
healthcheck:
test: ['CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
interval: 5s
timeout: 5s
retries: 10
labels:
- "com.centurylinklabs.watchtower.enable=true"
networks:
- docuseal-db
security_opt:
- no-new-privileges:true
docuseal-gotenberg:
restart: unless-stopped
image: gotenberg/gotenberg:latest
labels:
- "com.centurylinklabs.watchtower.enable=true"
networks:
- docuseal
security_opt:
- no-new-privileges:true
networks:
docuseal:
external: true
docuseal-db:
external: true