services: migrate letsencrypt to swag

This commit is contained in:
Bruno BELANYI 2020-10-18 15:51:54 +02:00
parent 29afe55243
commit 9d49a1eec8
31 changed files with 11 additions and 11 deletions

12
.gitignore vendored
View File

@ -3,11 +3,11 @@
/*/*.env.secret # Just to document that they should definitely never be added
# This is not necessary with the wildcard used in the first line, but it is clearer
/letsencrypt/*
!/letsencrypt/nginx/
/swag/*
!/swag/nginx/
/letsencrypt/nginx/*
!/letsencrypt/nginx/proxy-confs/
/swag/nginx/*
!/swag/nginx/proxy-confs/
/letsencrypt/nginx/proxy-confs/*.sample
/letsencrypt/nginx/proxy-confs/README.md
/swag/nginx/proxy-confs/*.sample
/swag/nginx/proxy-confs/README.md

View File

@ -1,16 +1,16 @@
version: "3"
services:
letsencrypt:
image: linuxserver/letsencrypt
container_name: letsencrypt
swag:
image: linuxserver/swag
container_name: swag
restart: unless-stopped
cap_add:
- NET_ADMIN
env_file:
- ./letsencrypt/letsencrypt.env
- ./swag/swag.env
volumes:
- ./letsencrypt:/config
- ./swag:/config
ports:
- 80:80
- 443:443