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:
@@ -1,6 +1,9 @@
|
||||
name: actual-server
|
||||
services:
|
||||
actual_server:
|
||||
app:
|
||||
image: docker.io/actualbudget/actual-server:latest
|
||||
networks:
|
||||
- proxy-net
|
||||
ports:
|
||||
# This line makes Actual available at port 5006 of the device you run the server on,
|
||||
# i.e. http://localhost:5006. You can change the first number to change the port, if you want.
|
||||
@@ -21,3 +24,7 @@ services:
|
||||
# '/data' is the path Actual will look for its files in by default, so leave that as-is.
|
||||
- ./data:/data
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
proxy-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user