rit.wtf/docker-compose.yml

15 lines
282 B
YAML
Raw Permalink Normal View History

2025-02-07 20:41:01 +00:00
services:
2025-02-07 21:06:51 +00:00
web:
image: nginx:alpine
2025-02-07 20:41:01 +00:00
restart: unless-stopped
2025-02-07 21:06:51 +00:00
volumes:
- ./conf/nginx.conf:/etc/nginx/nginx.conf
- ./:/var/www/html:ro
2025-02-07 20:41:01 +00:00
ports:
- '80:80'
2025-02-07 21:06:51 +00:00
php:
image: php:8-fpm
restart: unless-stopped
volumes:
- ./:/var/www/html:ro