Moved to caddy and docker for local dev

This commit is contained in:
Michel 2024-10-30 19:39:55 +01:00
parent c3e81ce6ea
commit af6b2b752e
5 changed files with 36 additions and 50 deletions

View file

@ -0,0 +1,22 @@
services:
caddy:
container_name: gamesshop_caddy
image: caddy
ports:
- 8080:80
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./../..:/app
- caddy_config:/config
- caddy_data:/data
depends_on:
- php-fpm
php-fpm:
container_name: gamesshop_php
build: .
volumes:
- ./../..:/app
volumes:
caddy_data:
caddy_config: