Re-vamped the compose files

This commit is contained in:
2024-11-18 17:34:30 -06:00
parent e89a9f84cd
commit 54ef176fe5
6 changed files with 61 additions and 154 deletions
+8 -7
View File
@@ -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