Commit e9c26da 1 parent 2feeea7 commit e9c26da Copy full SHA for e9c26da
File tree 1 file changed +53
-0
lines changed
1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ services :
4
+
5
+ app :
6
+ image : docuseal/docuseal:latest
7
+ container_name : docuseal
8
+ restart : unless-stopped
9
+ environment :
10
+ - FORCE_SSL=${HOST}
11
+ - DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal
12
+ volumes :
13
+ - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docuseal/data:/data
14
+ depends_on :
15
+ postgres :
16
+ condition : service_healthy
17
+ ports :
18
+ - 3000:3000
19
+ expose :
20
+ - 3000
21
+ # networks:
22
+ # - proxy
23
+ # labels:
24
+ # - traefik.enable=true
25
+ # - traefik.docker.network=proxy
26
+ # - traefik.http.routers.docuseal.rule=Host(`docuseal.example.com`)
27
+ # - traefik.http.services.docuseal.loadbalancer.server.port=3000
28
+ # # Optional part for traefik middlewares
29
+ # - traefik.http.routers.docuseal.middlewares=local-ipwhitelist@file,authelia@docker
30
+
31
+ postgres :
32
+ image : postgres:15-alpine
33
+ container_name : docuseal-db
34
+ restart : unless-stopped
35
+ environment :
36
+ - POSTGRES_USER=postgres
37
+ - POSTGRES_PASSWORD=postgres
38
+ - POSTGRES_DB=docuseal
39
+ volumes :
40
+ - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docuseal/pg_data:/var/lib/postgresql/data
41
+ healthcheck :
42
+ test : ["CMD-SHELL", "pg_isready -U postgres"]
43
+ interval : 5s
44
+ timeout : 5s
45
+ retries : 5
46
+ expose :
47
+ - 5432
48
+ # networks:
49
+ # - proxy
50
+
51
+ # networks:
52
+ # proxy:
53
+ # external: true
You can’t perform that action at this time.
0 commit comments