mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-07-16 16:57:20 +02:00
fixes?
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
deflock:
|
||||
image: public.ecr.aws/w2o0b9g0/deflock.me:latest
|
||||
expose:
|
||||
- 8080
|
||||
#restart: always
|
||||
stdin_open: true
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
- /etc/letsencrypt:/etc/letsencrypt
|
||||
environment:
|
||||
- SSL_CERTIFICATE=/etc/letsencrypt/live/deflock.me/fullchain.pem
|
||||
- SSL_CERTIFICATE_KEY=/etc/letsencrypt/live/deflock.me/privkey.pem
|
||||
restart: always
|
||||
|
||||
certbot:
|
||||
image: certbot/certbot
|
||||
environment:
|
||||
- CERTBOT_EMAIL
|
||||
volumes:
|
||||
- /etc/letsencrypt:/etc/letsencrypt
|
||||
- /var/lib/letsencrypt:/var/lib/letsencrypt
|
||||
command: certonly --webroot -w /var/www/certbot -d deflock.me --email ${CERTBOT_EMAIL} --agree-tos --no-eff-email
|
||||
Reference in New Issue
Block a user