mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 18:40:34 -05:00
Minor tweaks to the Caddy compose file (#689)
Changes made with some justification, in order of commits: - removed port mapping for `actual-server` service since we're using Caddy as the reverse proxy, similar to how there's no port mapping for the Traefik example - minor consistency changes by referring to the Traefik example: - moved `image: caddy:alpine` to the top - add restart policy - swapped one inconsistent single-quoted port mapping to double quotes
This commit is contained in:
@@ -20,22 +20,21 @@ Below is an example `Caddyfile` that you can use to configure Caddy and Actual S
|
||||
```yaml title="docker-compose.yml"
|
||||
services:
|
||||
caddy:
|
||||
container_name: caddy
|
||||
image: caddy:alpine
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- ./caddy/data:/data
|
||||
- ./caddy/config:/config
|
||||
ports:
|
||||
- "80:80"
|
||||
- '443:443'
|
||||
- "443:443"
|
||||
|
||||
actual-server:
|
||||
image: actualbudget/actual-server:latest
|
||||
container_name: actual_server
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '5006:5006'
|
||||
volumes:
|
||||
- ./actual-data:/data
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user