File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# & type: 3
55# & title: Focalboard
66# & description: Open source project management for technical teams
7- # & note: Website: <a href='https://www.focalboard.com/' target='_blank' rel='noopener'>Focalboard.com</a>
7+ # & note: Website: <a href='https://www.focalboard.com/' target='_blank' rel='noopener'>Focalboard.com</a></br>You need this <a href='https://github.com/mattermost/focalboard/blob/main/docker/config.json' target='_blank' rel='noopener'>config.json</a>
88# & categories: SelfHosted, PAPAMICA
99# & platform: linux
1010# & logo: https://static-00.iconduck.com/assets.00/focalboard-icon-213x256-ztsf7cez.png
@@ -24,12 +24,14 @@ services:
2424 restart : unless-stopped
2525 volumes :
2626 - $DATA_LOCATION/$SERVICE/data:/opt/focalboard/data
27- # - $DATA_LOCATION/$SERVICE/media:/jirafeau/media
27+ - $DATA_LOCATION/$SERVICE/config.json:/opt/focalboard/config.json
2828 healthcheck :
2929 test : wget -nv -t1 --spider 'http://localhost:8000'
3030 interval : 1m
3131 timeout : 30s
3232 retries : 3
33+ depends_on :
34+ - focalboard-db
3335 networks :
3436 - default
3537 labels :
@@ -42,6 +44,26 @@ services:
4244 - " traefik.http.services.$SERVICE.loadbalancer.server.port=8000"
4345 - " traefik.docker.network=$NETWORK"
4446
47+
48+
49+ focalboard-db :
50+ image : postgres:latest
51+ container_name : $SERVICE-db
52+ restart : unless-stopped
53+ volumes :
54+ - $DATA_LOCATION/$SERVICE/db:/var/lib/postgresql/data
55+ environment :
56+ POSTGRES_DB : boards
57+ POSTGRES_USER : boardsuser
58+ POSTGRES_PASSWORD : boardsuser-password
59+ healthcheck :
60+ test : ["CMD-SHELL", "pg_isready -U $DB_USER"]
61+ interval : 10s
62+ timeout : 5s
63+ retries : 5
64+ networks :
65+ - default
66+
4567networks :
4668 default :
4769 external :
You can’t perform that action at this time.
0 commit comments