a funcionar
This commit is contained in:
49
docker/docker-compose.yaml
Normal file
49
docker/docker-compose.yaml
Normal file
@@ -0,0 +1,49 @@
|
||||
version: '3'
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
volumes:
|
||||
- nginx-conf.d:/etc/nginx/conf.d
|
||||
- letsencrypt-conf:/etc/letsencrypt
|
||||
- certbot-www:/var/www/certbot
|
||||
ports:
|
||||
- 443:443
|
||||
- 80:80
|
||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
||||
restart: unless-stopped
|
||||
duplicati:
|
||||
image: duplicati/duplicati:latest
|
||||
volumes:
|
||||
- duplicati_data:/data
|
||||
- nginx-conf.d:/backup/nginx-conf.d:ro
|
||||
- letsencrypt-conf:/backup/letsencrypt-conf:ro
|
||||
- certbot-www:/backup/certbot-www:ro
|
||||
- duplicati_data:/backup/duplicati_data:ro
|
||||
ports:
|
||||
- 8205:8200
|
||||
restart: unless-stopped
|
||||
code-server:
|
||||
image: lscr.io/linuxserver/code-server:latest
|
||||
environment:
|
||||
#- PUID=1000
|
||||
#- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- PASSWORD=${ADMIN_PASSWORD} #optional
|
||||
#- HASHED_PASSWORD= #optional
|
||||
#- SUDO_PASSWORD=password #optional
|
||||
#- SUDO_PASSWORD_HASH= #optional
|
||||
#- PROXY_DOMAIN=code-server.my.domain #optional
|
||||
- DEFAULT_WORKSPACE=/config/workspace #optional
|
||||
volumes:
|
||||
- code-server_config:/config
|
||||
- nginx-conf.d:/nginx/conf.d
|
||||
- letsencrypt-conf:/letsencrypt/conf
|
||||
ports:
|
||||
- 8444:8443
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
nginx-conf.d:
|
||||
letsencrypt-conf:
|
||||
certbot-www:
|
||||
duplicati_data:
|
||||
code-server_config:
|
||||
Reference in New Issue
Block a user