Restart the linuxserver/swag container and Recipes will work correctly.proxy_set_header X-Forwarded-Host $http_host and proxy_set_header Host $http_host.Replace proxy_set_header X-Forwarded-Host $host and proxy_set_header Host $host to.If your running Swag on a custom port, some headers must be changed: If you're running Swag on the default port, you'll just need to change the container name to yours. Tandoor config is called which you can adapt for your instance. It contains templates for popular apps, including Tandoor Recipes, so you don't have to manually configure nginx and discard the template provided in Tandoor repo. This container is an all in one solution created by LinuxServer.io.
#UNRAID SETUP DOCKER DOWNLOAD#
mediafiles:/media labels : # traefik example labels - "traefik.enable=true" - ".rule=Host(``, ``)" - ".entrypoints=web_secure" # your https endpoint - ".tls.certresolver=le_resolver" # your cert resolver depends_on : - web_recipes networks : - default - traefik networks : default : traefik : # This is you external traefik network external : true volumes : nginx_config : staticfiles :ĭon't forget to download and configure your. env volumes : - nginx_config:/etc/nginx/conf.d:ro - staticfiles:/static. mediafiles:/opt/recipes/mediafiles depends_on : - db_recipes networks : - default nginx_recipes : image : nginx:mainline-alpine restart : always env_file :. env volumes : - staticfiles:/opt/recipes/staticfiles - nginx_config:/opt/recipes/nginx/conf.d. env networks : - default web_recipes : image : vabene1111/recipes env_file :. postgresql:/var/lib/postgresql/data env_file :. Version : "3" services : db_recipes : restart : always image : postgres:11-alpine volumes :. If you need to revert to an old version or want to make sure you stay on one specific use these tags.
#UNRAID SETUP DOCKER FREE#
develop If you want the most bleeding edge version with potentially many breaking changes feel free to use this version (not recommended!).beta Partially stable version that gets updated every now and then.The one you should use if you don't know that you need anything else. There are different versions (tags) released on Docker Hub. Please make sure, if you run your image this way, to consultįile in the GitHub repository to verify if additional environment variables are required for your setup.Īlso, don't forget to replace the placeholders for SECRET_KEY and POSTGRES_PASSWORD! Versions e POSTGRES_PASSWORD =YOUR_POSTGRES_SECRET_KEY \ e DB_ENGINE =django.db.backends.postgresql \ v " $( pwd ) "/mediafiles:/opt/recipes/mediafiles \ v " $( pwd ) "/staticfiles:/opt/recipes/staticfiles \