diff --git a/swag-letsencrypt_duckdns/docker-compose.yml b/swag-letsencrypt_duckdns/docker-compose.yml new file mode 100644 index 0000000..a1fd0ad --- /dev/null +++ b/swag-letsencrypt_duckdns/docker-compose.yml @@ -0,0 +1,25 @@ +# Nginx webserver and reverse proxy with php support and a built-in Certbot (fail2ban included) +--- +version: "2.1" +services: + swag: + image: lscr.io/linuxserver/swag + container_name: swag + cap_add: + - NET_ADMIN + environment: + - PUID=1000 + - PGID=1003 + - TZ=America\New_York + - URL=example.duckdns.org + - SUBDOMAINS=wildcard + - VALIDATION=duckdns + - DUCKDNSTOKEN=YourDuckDNSToken + - EMAIL= your@email.com # for let's encyrpt + volumes: + - /docker-containers/swag-letsencrypt_duckdns:/config + ports: + - 443:443 + - 80:80 + restart: unless-stopped + network_mode: host \ No newline at end of file