-
-
Notifications
You must be signed in to change notification settings - Fork 273
/
docker-compose.yml
50 lines (47 loc) · 1.31 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
services:
app:
image: docuseal/docuseal:latest
container_name: docuseal
restart: unless-stopped
environment:
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docuseal/data:/data
depends_on:
postgres:
condition: service_healthy
ports:
- 3000:3000
expose:
- 3000
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.docuseal.rule=Host(`docuseal.example.com`)
# - traefik.http.services.docuseal.loadbalancer.server.port=3000
# # Optional part for traefik middlewares
# - traefik.http.routers.docuseal.middlewares=local-ipwhitelist@file,authelia@docker
postgres:
image: postgres:16-alpine
container_name: docuseal-db
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=docuseal
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docuseal/pg_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
expose:
- 5432
#networks:
# - proxy
#networks:
# proxy:
# external: true