postgres: add
This commit is contained in:
parent
4b7eafb94f
commit
1946c19250
2
.env
2
.env
|
@ -16,7 +16,7 @@ EMAIL_HOST=smtp.gmail.com
|
|||
EMAIL_PASSWORD=sebrubdsgkuptcjr
|
||||
EMAIL_PORT=587
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_USERNAME=lukas
|
||||
POSTGRES_USER=lukas
|
||||
POSTGRES_PASSWORD=kralovna
|
||||
POSTGRES_PORT=5432
|
||||
MYSQL_USER=lukas
|
||||
|
|
12
baserow.env
12
baserow.env
|
@ -1,12 +1,12 @@
|
|||
BASEROW_PUBLIC_URL=https://baserow.${DOMAIN}
|
||||
DATABASE_HOST=postgres
|
||||
DATABASE_HOST=${POSTGRES_HOST}
|
||||
DATABASE_NAME=baserow
|
||||
DATABASE_USER=baserow
|
||||
DATABASE_PASSWORD=S@8rBtSApf@YpNLXS!2hr2F$
|
||||
EMAIL_SMTP=1
|
||||
EMAIL_SMTP_HOST=smtp.gmail.com
|
||||
EMAIL_SMTP_PASSWORD=sebrubdsgkuptcjr
|
||||
EMAIL_SMTP_PORT=587
|
||||
EMAIL_SMTP_HOST=${EMAIL_HOST}
|
||||
EMAIL_SMTP_PASSWORD=${EMAIL_PASSWORD}
|
||||
EMAIL_SMTP_PORT=${EMAIL_PORT}
|
||||
EMAIL_SMTP_USE_TLS=1
|
||||
EMAIL_SMTP_USER=kucharczyk.lukas@gmail.com
|
||||
FROM_EMAIL=kucharczyk.lukas@gmail.com
|
||||
EMAIL_SMTP_USER=${EMAIL_FROM}
|
||||
FROM_EMAIL=${EMAIL_FROM}
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue