docuseal/docker-compose.yml hinzugefügt
This commit is contained in:
32
docuseal/docker-compose.yml
Normal file
32
docuseal/docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
|
image: docuseal/docuseal:latest
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
volumes:
|
||||||
|
- data
|
||||||
|
environment:
|
||||||
|
# FORCE_SSL: 'true'
|
||||||
|
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/docuseal
|
||||||
|
PIDFILE: /tmp/server.pid
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: postgres:15
|
||||||
|
volumes:
|
||||||
|
- pg_data:/var/lib/postgresql/data'
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: postgres
|
||||||
|
POSTGRES_PASSWORD: postgres
|
||||||
|
POSTGRES_DB: docuseal
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
data:
|
||||||
|
pg_data:
|
||||||
Reference in New Issue
Block a user