Skip to content

Commit c70f3ab

Browse files
committed
add db to focalboard
1 parent e0b7073 commit c70f3ab

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

composes-files/focalboard.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#% SERVICE: Name of the service (No spaces or points) [focalboard]
1313
#% DATA_LOCATION: Data localization (Example: /apps/service) [/_data/apps]
1414
#% URL: Service URL (Example: service.papamica.fr or service.com)
15+
#% DB_USER: Database user (No spaces or points) [focalboard]
16+
#% DB_PASSWORD: Database user password
1517
#% NETWORK: Your Traefik network (Example: proxy) [proxy]
1618

1719
# Work with Portainer
@@ -44,8 +46,6 @@ services:
4446
- "traefik.http.services.$SERVICE.loadbalancer.server.port=8000"
4547
- "traefik.docker.network=$NETWORK"
4648

47-
48-
4949
focalboard-db:
5050
image: postgres:latest
5151
container_name: $SERVICE-db
@@ -54,8 +54,8 @@ services:
5454
- $DATA_LOCATION/$SERVICE/db:/var/lib/postgresql/data
5555
environment:
5656
POSTGRES_DB: boards
57-
POSTGRES_USER: boardsuser
58-
POSTGRES_PASSWORD: boardsuser-password
57+
POSTGRES_USER: $DB_USER
58+
POSTGRES_PASSWORD: $DB_PASSWORD
5959
healthcheck:
6060
test: ["CMD-SHELL", "pg_isready -U $DB_USER"]
6161
interval: 10s

0 commit comments

Comments
 (0)