app-store/apps/hedgedoc/docker-compose.yml
renovate[bot] 696e7a091e
chore(deps): update quay.io/hedgedoc/hedgedoc docker tag to v1.9.8 (#652)
* chore(deps): update quay.io/hedgedoc/hedgedoc docker tag to v1.9.8

* Update app version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2023-06-04 23:19:58 -04:00

40 lines
1.2 KiB
YAML

version: '3.7'
services:
hedgedoc:
container_name: hedgedoc
image: quay.io/hedgedoc/hedgedoc:1.9.8
environment:
- CMD_DB_URL=postgres://hedgedoc:${HEDGEDOC_DB_PASSWORD}@hedgedoc-db:5432/hedgedoc
- CMD_DOMAIN=${APP_DOMAIN}
- CMD_URL_ADDPORT=${HEDGEDOC_ADDPORT}
volumes:
- ${APP_DATA_DIR}/data/hedgedoc-uploads:/hedgedoc/public/uploads
ports:
- ${APP_PORT}:3000
restart: always
depends_on:
- hedgedoc-db
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.hedgedoc.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.hedgedoc.entrypoints: websecure
traefik.http.routers.hedgedoc.service: hedgedoc
traefik.http.routers.hedgedoc.tls.certresolver: myresolver
traefik.http.services.hedgedoc.loadbalancer.server.port: 3000
hedgedoc-db:
container_name: hedgedoc-db
image: postgres:13.4-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=hedgedoc
- POSTGRES_PASSWORD=${HEDGEDOC_DB_PASSWORD}
- POSTGRES_DB=hedgedoc
volumes:
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
networks:
- tipi_main_network