Updated docker-compose files for use with Docker Caddy
Defined top level name for all services Added proxy-net to services Updated main service/server container service name to "app" Updated hostname references to projectname-app-1 Updated docker Caddy caddyfile to reference container names Updated docker Caddy caddyfile to use 192.168.1.234 instead of localhost for non-docker services Adjusted caddyfile accordingly
This commit is contained in:
@@ -6,9 +6,15 @@ services:
|
||||
volumes:
|
||||
- ./data:/home/node/trilium-data
|
||||
- ./config:/home/node/trilium-config
|
||||
networks:
|
||||
- proxy-net
|
||||
ports:
|
||||
- "127.0.0.1:8040:8080"
|
||||
environment:
|
||||
USER_UID: 1000
|
||||
USER_GID: 1000
|
||||
TRILIUM_CONFIG_INI_PATH: /home/node/trilium-config/config.ini
|
||||
TRILIUM_CONFIG_INI_PATH: /home/node/trilium-config/config.ini
|
||||
|
||||
networks:
|
||||
proxy-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user