23 lines
500 B
YAML
23 lines
500 B
YAML
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
restart: unless-stopped
|
|
container_name: nginx
|
|
networks:
|
|
- shared
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
ports:
|
|
- '80:80'
|
|
- '443:443'
|
|
- '24444:24444' # for mcsmanager-daemon
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ./conf.d:/etc/nginx/conf.d:ro
|
|
- /etc/letsencrypt:/etc/letsencrypt:ro
|
|
- ./certbot/www:/var/www/certbot:ro
|
|
|
|
networks:
|
|
shared:
|
|
name: shared
|