chefsslaad / foundry_swag_docker Goto Github PK
View Code? Open in Web Editor NEWa how-to on running foundry-vtt in a docker container and securing the connection using nginx and swag
License: MIT License
a how-to on running foundry-vtt in a docker container and securing the connection using nginx and swag
License: MIT License
Not sure what I'm doing incorrectly but I'm not getting the foundry login in screen. I only seem to get this
I'm genuinely not sure what I'm doing incorretly as the containers and associated processes seem to be working fine. Here's my config file for the containers.
version: "3.8"
services:
duckdns:
image: ghcr.io/linuxserver/duckdns
container_name: duckdns
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York # replace with your local timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- SUBDOMAINS=notroll20 # replace with to your DuckDNS subdomain name.
- TOKEN=<my_token> # replace with your DuckDNS token here
restart: unless-stopped
foundry:
container_name: foundry
hostname: foundry
image: direckthit/fvtt-docker:latest
expose:
- 30000
volumes:
- ~/foundry/data:/data/foundryvtt # replace with the correct path to your foundry config dir
- ~/foundry/resources:/data/foundryvtt/Data/resources # replace with the correct path to your resources
- ~/foundry/zip:/host # replace with the correct path to your foundry-x.x.x.zip file
restart: unless-stopped
swag:
image: ghcr.io/linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York # replace with your timezone
- URL=notroll20.duckdns.org # replace with this to your DuckDNS hostname
- VALIDATION=http
- DUCKDNSTOKEN=<my_token> # replace with your DuckDNS token here
- EMAIL=<my_email> # replace with your email address (optional).
volumes:
- ./swag:/config
ports:
- 80:80
- 443:443
restart: unless-stopped
Hi there,
first of all: thank you for the very detailed guide. I am a absolut beginner to all of this and I managed to follow through with every single step of the guide.
I did all the steps of the preparations, setting up the host and setting up the containers.
I have all three containers running and did configure the reverse proxy.
I configured everything to my knowledge within the code from the guide.
`version: "3.8"
services:
duckdns:
image: ghcr.io/linuxserver/duckdns
container_name: duckdns
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin # replace with your local timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- SUBDOMAINS=wiederaufbauerel.duckdns.org # replace with to your DuckDNS subdomain name.
- TOKEN= -my token-
# replace with your DuckDNS token here
restart: unless-stopped
foundry:
container_name: foundry
hostname: foundry
image: direckthit/fvtt-docker:latest
expose:
- 30000
volumes:
- ~/swag-foundry/foundry # replace with the correct path to your foundry config dir
- ~/resources # replace with the correct path to your resources
- ~/swag-foundry/FoundryVTT-12.327.zip # replace with the correct path to your foundry-x.x.x.zip file
restart: unless-stopped
swag:
image: ghcr.io/linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin # replace with your timezone
- URL=wiederaufbauerel.duckdns.org # replace with this to your DuckDNS hostname
- VALIDATION=http
- DUCKDNSTOKEN= -my token - # replace with your DuckDNS token here
- EMAIL= -my email- # replace with your email address (optional).
volumes:
- ./swag:/config
ports:
- 8080:80
- 443:443
restart: unless-stopped`
`# only serve https
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
listen 443 ssl http2;
server_name wiederaufbauerel.duckdns.org www.wiederaufbauerel.duckdns.org ; # add your domain name here. if you want to use both with and without www add both here.
# make sure ssl is enabled
include~/swag-foundry/swag/nginx/ssl.conf;
client_max_body_size 0;
ssl_session_cache shared:SSL:10m;
proxy_buffering off;
location / {
include~/swag-foundry/swag/nginx/proxy-confs;
resolver 127.0.0.11 valid=30s;
set $upstream_proto http;
set $upstream_app foundry;
set $upstream_port 30000;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}`
So with all this I cannot reach the site.
Thanks in advance for every helping hand!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.