mirror of
https://github.com/dalbodeule/sh0rt.kr-pdns.git
synced 2025-06-09 03:08:20 +00:00
add nginx
This commit is contained in:
parent
7fb73ed9a0
commit
b494c9a51f
@ -75,10 +75,25 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- pdns_network
|
- pdns_network
|
||||||
restart: always
|
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:
|
volumes:
|
||||||
mariadb_data:
|
mariadb_data:
|
||||||
mariadb_config:
|
mariadb_config:
|
||||||
|
nginx_secrets:
|
||||||
|
nginx_conf:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
pdns_network:
|
pdns_network:
|
||||||
|
@ -52,10 +52,25 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- pdns_network
|
- pdns_network
|
||||||
restart: always
|
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:
|
volumes:
|
||||||
mariadb_data:
|
mariadb_data:
|
||||||
mariadb_config:
|
mariadb_config:
|
||||||
|
nginx_secrets:
|
||||||
|
nginx_conf:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
pdns_network:
|
pdns_network:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user