26 lines
550 B
YAML
26 lines
550 B
YAML
|
# I'm very comfortable in this version, therefore it's the standard
|
||
|
version: '2.2'
|
||
|
|
||
|
services:
|
||
|
# default nginx setup
|
||
|
nginx:
|
||
|
build: custom/nginx
|
||
|
environment:
|
||
|
CERTBOT_EMAIL: "webmaster@ixvd.net"
|
||
|
# CERTBOT_DOMAINS: "link.ixvd.net,push.ixvd.net"
|
||
|
volumes:
|
||
|
- /srv/certbot/data:/etc/letsencrypt
|
||
|
- /srv/certbot/other/www:/var/www/certbot
|
||
|
ports:
|
||
|
- 80:80
|
||
|
- 443:443
|
||
|
networks:
|
||
|
- proxy
|
||
|
|
||
|
# Here the default networks are defined
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|
||
|
internal:
|
||
|
external: true
|
||
|
|