hedgedoc/docker/docker-compose.yml
renovate[bot] c746495e5f chore(deps): pin dependencies
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 12:17:51 +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:01eb029fb57fa8a142c0ea315e689f385a3137d80ce5aa40cfe9c183f1cb23c9
volumes:
- $PWD/.env:/usr/src/app/backend/.env
- hedgedoc_uploads:/usr/src/app/backend/uploads
frontend:
image: ghcr.io/hedgedoc/hedgedoc/frontend:develop@sha256:8c7e57e87a1fe3fa78ea1576a7834c9831b70d1c43826dfa06f1f79d5c7c918c
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: