14 lines
471 B
YAML
14 lines
471 B
YAML
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
|