postgres: add
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user