16 lines
272 B
YAML
16 lines
272 B
YAML
services:
|
|
nginx:
|
|
image: nginx:latest
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./conf.d:/etc/nginx/conf.d
|
|
- /etc/letsencrypt:/etc/letsencrypt:ro
|
|
restart: unless-stopped
|
|
networks:
|
|
- web
|
|
|
|
networks:
|
|
web:
|
|
external: true
|