1
0

postgres: add

This commit is contained in:
2023-09-08 12:29:32 +02:00
parent 4b7eafb94f
commit 1946c19250
3 changed files with 21 additions and 8 deletions

View File

@ -368,7 +368,7 @@ services:
- snibox.env
environment:
DB_NAME: "${SNIBOX_POSTGRES_DB_NAME}"
DB_USER: "${POSTGRES_USERNAME}"
DB_USER: "${POSTGRES_USER}"
DB_PASS: "${POSTGRES_PASSWORD}"
DB_HOST: "${POSTGRES_HOST}"
DB_PORT: "${POSTGRES_PORT}"
@ -759,6 +759,19 @@ services:
profiles:
- base
postgres:
container_name: postgres
image: postgres:latest
networks:
- postgres
ports:
- "${BASEROW_EXTERNAL_PORT}:${BASEROW_INTERNAL_PORT}"
volumes:
- "${DOCKER_STORAGE_PATH}/postgres:/var/lib/postgresql/data"
restart: unless-stopped
profiles:
- base
- infra