This commit is contained in:
Andras Bacsai 2023-04-27 14:56:31 +02:00
parent 98983bb604
commit 28601437e4
2 changed files with 2 additions and 4 deletions

View File

@ -29,7 +29,7 @@ services:
postgres:
container_name: coolify-db
volumes:
- coolify-db:/var/lib/postgresql/data
- /data/coolify/coolify-db:/var/lib/postgresql/data
environment:
POSTGRES_USER: "${DB_USERNAME}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
@ -45,6 +45,3 @@ services:
interval: 2s
retries: 5
timeout: 2s
volumes:
coolify-db:
name: coolify-db

View File

@ -22,6 +22,7 @@ mkdir -p /data/coolify/deployments
mkdir -p /data/coolify/ssh-keys
mkdir -p /data/coolify/proxy
mkdir -p /data/coolify/source
mkdir -p /data/coolify/coolify-db
chown -R 9999:root /data
chmod -R 700 /data