25 lines
428 B
YAML
25 lines
428 B
YAML
# networks
|
|
#networks:
|
|
# nginx_net:
|
|
# driver: bridge
|
|
|
|
# services
|
|
services:
|
|
# nginx
|
|
nginx:
|
|
restart: unless-stopped
|
|
image: nginx:latest
|
|
container_name: nginx
|
|
volumes:
|
|
- ./nginx/templates:/etc/nginx/templates:ro
|
|
- ./nginx/conf.d/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ./nginx/ssl/:/etc/nginx/ssl:ro
|
|
ports:
|
|
- 443:443
|
|
- 80:80
|
|
# networks:
|
|
# nginx_net:
|
|
# volumes
|
|
#volumes:
|
|
# nginx:
|