File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments