Skip to content

Commit

Permalink
Move volumes out of common config
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Oct 25, 2024
1 parent 3a6d1de commit 02cd8bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .docker/compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ services:
- ../:/app
- ../runtime:/app/runtime
- ${COMPOSER_CACHE_DIR:-~/.cache/composer}:/var/www/.composer
- caddy_data:/data
- caddy_config:/config
tty: true

2 changes: 2 additions & 0 deletions .docker/compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:
- caddy_public
volumes:
- runtime:/app/runtime
- caddy_data:/data
- caddy_config:/config
environment:
SERVER_NAME: ":80"
deploy:
Expand Down
3 changes: 0 additions & 3 deletions .docker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: ${STACK_NAME}

services:
app:
volumes:
- caddy_data:/data
- caddy_config:/config
extra_hosts:
- "host.docker.internal:host-gateway"

Expand Down

0 comments on commit 02cd8bc

Please sign in to comment.