2023-10-22 14:47:10 +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
|
2023-11-25 00:49:46 +01:00
|
|
|
depends_on:
|
|
|
|
- takahe # it will not start properly without
|
2023-10-22 14:47:10 +02:00
|
|
|
environment:
|
|
|
|
CERTBOT_EMAIL: "webmaster@ixvd.net"
|
2023-11-25 15:51:43 +01:00
|
|
|
CERTBOT_DOMAINS: "kid.ixvd.net,fedi.ixvd.net,matrix.ixvd.net,on.ixvd.net,matrix.neo.ixvd.net,cinny.ixvd.net,search.ixvd.net,pad.ixvd.net,sandbox.pad.ixvd.net,bin.ixvd.net,takahe.ixvd.net,takahemedia.ixvd.net"
|
2023-10-22 14:47:10 +02:00
|
|
|
volumes:
|
|
|
|
- /srv/certbot/data:/etc/letsencrypt
|
|
|
|
- /srv/certbot/other/www:/var/www/certbot
|
2023-11-25 00:41:02 +01:00
|
|
|
- /srv/takahe/data:/usr/share/takahe
|
2023-10-22 14:47:10 +02:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
|
|
|
|
# Here the default networks are defined
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|
|
|
|
internal:
|
|
|
|
external: true
|
|
|
|
|