2021-03-18 20:17:56 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
app:
|
|
|
|
build:
|
2021-03-19 02:35:54 +02:00
|
|
|
context: ./
|
2021-03-18 20:17:56 +02:00
|
|
|
container_name: focalboard
|
|
|
|
expose:
|
|
|
|
- 8000
|
|
|
|
environment:
|
|
|
|
- VIRTUAL_HOST=focalboard.local
|
|
|
|
- VIRTUAL_PORT=8000
|
2021-03-19 02:35:54 +02:00
|
|
|
volumes:
|
|
|
|
- "./config.json:/opt/focalboard/config.json"
|
2021-03-18 20:17:56 +02:00
|
|
|
|
|
|
|
proxy:
|
|
|
|
image: jwilder/nginx-proxy:latest
|
|
|
|
container_name: focalboard-proxy
|
|
|
|
ports:
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
|
|
|
- "./certs:/etc/nginx/certs:ro"
|
|
|
|
- "/var/run/docker.sock:/tmp/docker.sock:ro"
|
|
|
|
|
2021-03-19 02:35:54 +02:00
|
|
|
focalboard-db:
|
2021-03-18 20:17:56 +02:00
|
|
|
image: postgres:latest
|
|
|
|
container_name: focalboard-postgres
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- "./data:/var/lib/postgresql/data"
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: boards
|
2021-03-19 02:35:54 +02:00
|
|
|
POSTGRES_USER: boardsuser
|
|
|
|
POSTGRES_PASSWORD: boardsuser-password
|
2021-03-18 20:17:56 +02:00
|
|
|
|