services: migrate letsencrypt to swag
This commit is contained in:
parent
29afe55243
commit
9d49a1eec8
12
.gitignore
vendored
12
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue