mirror of
https://github.com/dalbodeule/sh0rt.kr-pdns.git
synced 2025-06-08 18:58:20 +00:00
add nginx
This commit is contained in:
parent
7fb73ed9a0
commit
b494c9a51f
@ -75,10 +75,25 @@ services:
|
||||
networks:
|
||||
- pdns_network
|
||||
restart: always
|
||||
nginx:
|
||||
image: jonasal/nginx-certbot:latest
|
||||
restart: always
|
||||
environment:
|
||||
- CERTBOT_EMAIL
|
||||
env_file:
|
||||
- ./nginx-certbot.env
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes: # Storage can be either a
|
||||
- nginx_secrets:/etc/letsencrypt # Docker managed volume (see list at the bottom)
|
||||
- nginx_conf:/etc/nginx/user_conf.d # or a host mount with a relative or full path.
|
||||
|
||||
volumes:
|
||||
mariadb_data:
|
||||
mariadb_config:
|
||||
nginx_secrets:
|
||||
nginx_conf:
|
||||
|
||||
networks:
|
||||
pdns_network:
|
||||
|
@ -52,10 +52,25 @@ services:
|
||||
networks:
|
||||
- pdns_network
|
||||
restart: always
|
||||
nginx:
|
||||
image: jonasal/nginx-certbot:latest
|
||||
restart: always
|
||||
environment:
|
||||
- CERTBOT_EMAIL
|
||||
env_file:
|
||||
- ./nginx-certbot.env
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes: # Storage can be either a
|
||||
- nginx_secrets:/etc/letsencrypt # Docker managed volume (see list at the bottom)
|
||||
- nginx_conf:/etc/nginx/user_conf.d # or a host mount with a relative or full path.
|
||||
|
||||
volumes:
|
||||
mariadb_data:
|
||||
mariadb_config:
|
||||
nginx_secrets:
|
||||
nginx_conf:
|
||||
|
||||
networks:
|
||||
pdns_network:
|
||||
|
Loading…
x
Reference in New Issue
Block a user