Re-vamped the compose files
This commit is contained in:
@@ -5,16 +5,15 @@ services:
|
||||
condition: service_healthy
|
||||
image: docuseal/docuseal:latest
|
||||
ports:
|
||||
- 3069:3000
|
||||
volumes:
|
||||
- ./docuseal:/data/docuseal
|
||||
- '3069:3000'
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal
|
||||
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/docuseal
|
||||
ROOT_DIR: ${ROOT_DIR}
|
||||
volumes:
|
||||
- ${ROOT_DIR}/app_data:/data/docuseal
|
||||
|
||||
postgres:
|
||||
image: postgres:15
|
||||
volumes:
|
||||
- './pg_data:/var/lib/postgresql/data'
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
@@ -23,4 +22,6 @@ services:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
retries: 5
|
||||
volumes:
|
||||
- ${ROOT_DIR}/pg_data:/var/lib/postgresql/data
|
||||
Reference in New Issue
Block a user