split compose file

This commit is contained in:
2024-12-19 14:17:44 +01:00
parent 04db420f71
commit ed2234a9b6
21 changed files with 258 additions and 278 deletions

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

@@ -0,0 +1,13 @@
services:
nginx:
container_name: nginx
extra_hosts:
- host:192.168.2.150
image: nginx:1.25.4
restart: unless-stopped
volumes:
- /opt/nginx/etc/.htpasswd:/host/etc/.htpasswd
- /opt/nginx/etc/nginx/conf:/etc/nginx/conf
- /opt/nginx/etc/nginx/conf.d:/etc/nginx/conf.d
- /opt/nginx/var/log/nginx:/var/log/nginx
- /opt/seafile/seafile-server-latest/seahub/media:/host/var/www/seafile