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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user