mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 09:23:39 +01:00
ac1f8ecc33
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
31 lines
681 B
YAML
31 lines
681 B
YAML
version: '2'
|
|
services:
|
|
caddy:
|
|
image: caddy:2
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /tmp/data/caddy/data:/data
|
|
- /tmp/data/caddy/config:/config
|
|
- ./Caddyfile:/etc/caddy/Caddyfile:r
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
|
|
django-helpdesk:
|
|
build:
|
|
context: ..
|
|
dockerfile: standalone/Dockerfile
|
|
user: root
|
|
volumes:
|
|
- /tmp/django-helpdesk-data:/data/
|
|
- ./custom_navigation_header.html:/opt/django-helpdesk/helpdesk/templates/helpdesk/custom_navigation_header.html:r
|
|
env_file: docker.env
|
|
depends_on:
|
|
- postgres
|
|
|
|
postgres:
|
|
image: postgres:12-bullseye
|
|
volumes:
|
|
- ./db:/var/lib/postgresql/data
|
|
env_file: docker.env
|