split compose file
This commit is contained in:
13
docker-compose.nginx.yml
Normal file
13
docker-compose.nginx.yml
Normal 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
|
||||
Reference in New Issue
Block a user