33 lines
874 B
YAML
33 lines
874 B
YAML
|
version: "3"
|
||
|
services:
|
||
|
web:
|
||
|
image: registry.gitlab.com/jcgruenhage/docker-caddy:latest
|
||
|
container_name: web
|
||
|
volumes:
|
||
|
- /opt/docker/Caddy:/caddy:z
|
||
|
- /opt/docker/Caddy/Caddyfile:/etc/caddy/Caddyfile:z
|
||
|
- /nas/services/web/webhosts:/webhosts:z
|
||
|
- /nas/services/certMgmt/certData/certs:/tls_certs:z
|
||
|
- /nas/services/matrix/ssl/config:/matrix_tls_certs:z
|
||
|
- /nas/services/matrix/static-files:/matrix_static:z
|
||
|
- /nas/users/jreichmann/public:/public/transcaffeine:z
|
||
|
- /opt/docker/Caddy/webroot:/var/webroot:z
|
||
|
- /nas/services/masto_dark/public:/services/mastodon/public:z
|
||
|
environment:
|
||
|
- GID=1001
|
||
|
- UID=1001
|
||
|
ports:
|
||
|
- "443:443"
|
||
|
- "8448:8448"
|
||
|
networks:
|
||
|
- frontend
|
||
|
- matrix
|
||
|
|
||
|
networks:
|
||
|
frontend:
|
||
|
external:
|
||
|
name: frontend
|
||
|
matrix:
|
||
|
external:
|
||
|
name: matrix
|