Split docker-compose.yml into one file per service

This commit is contained in:
Bram Veenboer
2024-11-28 19:34:24 +01:00
parent 5f65c8db9d
commit 0bbca6efc1
30 changed files with 492 additions and 443 deletions

12
docker-compose.nginx.yml Normal file
View File

@@ -0,0 +1,12 @@
services:
nginx:
container_name: nginx
extra_hosts:
- host:192.168.2.150
image: nginx:1.25.4
restart: unless-stopped
volumes:
- /opt/nginx/etc/nginx/conf:/etc/nginx/conf
- /opt/nginx/etc/nginx/conf.d:/etc/nginx/conf.d
- /opt/nginx/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- /opt/nginx/var/log/nginx:/var/log/nginx