neb/servers/skel/docker-compose.d/docker-compose.yml

26 lines
530 B
YAML
Raw Normal View History

2023-10-20 02:09:03 +02:00
# 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: "localhost"
2023-10-20 02:57:39 +02:00
volumes:
- /srv/certbot/data:/etc/letsencrypt
- /srv/certbot/other/www:/var/www/certbot
2023-10-20 02:09:03 +02:00
ports:
2023-10-20 02:10:42 +02:00
- 80:80
2023-10-20 02:09:03 +02:00
- 443:443
networks:
- proxy
# Here the default networks are defined
networks:
proxy:
external: true
internal:
external: true