mirror of
https://github.com/navilg/media-stack.git
synced 2024-11-26 18:11:41 +02:00
23 lines
367 B
YAML
23 lines
367 B
YAML
version: '2'
|
|
name: nginx
|
|
services:
|
|
nginx:
|
|
image: nginx:1.23.3-alpine
|
|
container_name: nginx
|
|
networks:
|
|
- mynetwork
|
|
volumes:
|
|
- nginx-config:/etc/nginx
|
|
- letsencrypt:/etc/letsencrypt
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
nginx-config:
|
|
letsencrypt:
|
|
|
|
networks:
|
|
mynetwork:
|
|
external: true |