hedgedoc/docker/docker-compose.yml
renovate[bot] 6590884e71 chore(deps): update ghcr.io/hedgedoc/hedgedoc/backend:develop docker digest to eaf43eb
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 19:57:18 +02:00

38 lines
1.2 KiB
YAML

# SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
# SPDX-License-Identifier: AGPL-3.0-only
---
services:
backend:
image: ghcr.io/hedgedoc/hedgedoc/backend:develop@sha256:eaf43eb2348d48f0a5746cfa995a8f149b1a3dc14173c15967b92c4bd2105def
volumes:
- $PWD/.env:/usr/src/app/backend/.env
- hedgedoc_uploads:/usr/src/app/backend/uploads
frontend:
image: ghcr.io/hedgedoc/hedgedoc/frontend:develop@sha256:746b12ecbed444e0321ab02e0275a837c76b32ff39c2ac17e784a8b85bdbc18c
environment:
HD_BASE_URL: "${HD_BASE_URL}"
db:
image: postgres:15@sha256:9e3b538a581247a22f8e452d1b797373bb3e1bfae6e3273e9c49b637e080c797
environment:
POSTGRES_USER: "${HD_DATABASE_USER}"
POSTGRES_PASSWORD: "${HD_DATABASE_PASS}"
POSTGRES_DB: "${HD_DATABASE_NAME}"
proxy:
image: caddy:latest@sha256:20bbfcf569bdcbca76a8df356877600d12331fef823c3e6ad6faa192d5668304
restart: unless-stopped
environment:
HD_BASE_URL: "${HD_BASE_URL}"
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
volumes:
hedgedoc_uploads:
caddy_data: