Add TLS resolvers to allow acme challenges to resolve

Configure non-docker apps to proxy to host.docker.internal
Configure triliumnext-notes to use port 8080
Add host.docker.internal to caddy docker-compose
Explicitly specify .env file for caddy container
Remove port expose for triliumnext-notes container
This commit is contained in:
Chris King
2025-01-13 10:59:43 -08:00
parent 936242e24d
commit a671b15a96
3 changed files with 8 additions and 6 deletions

View File

@@ -3,8 +3,11 @@ services:
app:
build: .
restart: unless-stopped
env_file: .env
networks:
- proxy-net
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "80:80"
- "443:443"
@@ -29,4 +32,4 @@ configs:
volumes:
caddy_data:
caddy_config:
caddy_config: