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
|
/*/*.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
|
# This is not necessary with the wildcard used in the first line, but it is clearer
|
||||||
/letsencrypt/*
|
/swag/*
|
||||||
!/letsencrypt/nginx/
|
!/swag/nginx/
|
||||||
|
|
||||||
/letsencrypt/nginx/*
|
/swag/nginx/*
|
||||||
!/letsencrypt/nginx/proxy-confs/
|
!/swag/nginx/proxy-confs/
|
||||||
|
|
||||||
/letsencrypt/nginx/proxy-confs/*.sample
|
/swag/nginx/proxy-confs/*.sample
|
||||||
/letsencrypt/nginx/proxy-confs/README.md
|
/swag/nginx/proxy-confs/README.md
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
letsencrypt:
|
swag:
|
||||||
image: linuxserver/letsencrypt
|
image: linuxserver/swag
|
||||||
container_name: letsencrypt
|
container_name: swag
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
env_file:
|
env_file:
|
||||||
- ./letsencrypt/letsencrypt.env
|
- ./swag/swag.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./letsencrypt:/config
|
- ./swag:/config
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
|
|
Reference in a new issue