docker-swag config (tested + working) #1275
Replies: 11 comments 23 replies
-
This is my working version. I don't need to hard code the server address. Difference to note:
|
Beta Was this translation helpful? Give feedback.
-
I don't know why this is not working on my side.... When I look in portainer, the only port exported by the immich containers is 2283. In your config, location Looking at swag error log, it shows that it cannot resolve these names since they look like docker container names not dns. The I tried to change the names to VM host IP address which runs the docker containers, but it doesn't work either. The only way I was able to make it work is to remove the |
Beta Was this translation helpful? Give feedback.
-
Extract from my docker-compose file. It contains other containers as well, which I removed them. I already had a redis and postgress container up, so I addapted the immich_containers to use them. All containers, including swag, run on a VM with ip 192.168.0.101 inside a proxmox host. I included my existing nginx conf file from SWAG container. With this one I can access from outside trough a subdomain from duckdns.
|
Beta Was this translation helpful? Give feedback.
-
I can ping immich-server from withting swag container. I wonder why using the container name in nginx conf file doesn't work? |
Beta Was this translation helpful? Give feedback.
-
Extract from
|
Beta Was this translation helpful? Give feedback.
-
I figured it out! I had I commented out the the include of resolver.conf and added |
Beta Was this translation helpful? Give feedback.
-
This stopped working after an update a month or so ago, did you experience the same issue and made any changes? Edit, here's the version I used: server {
} |
Beta Was this translation helpful? Give feedback.
-
Following the official recommendations (https://documentation.immich.app/docs/administration/reverse-proxy#adding-a-custom-reverse-proxy) of forwarding to Immich's reverse proxy, it seems like the default Swag template config works just fine as all the immich proxy suggestions are in the default confs:
|
Beta Was this translation helpful? Give feedback.
-
I used the same default Swag template and it works great, exactly as @NLZ |
Beta Was this translation helpful? Give feedback.
-
I have no issues with various configurations but all have the same issue with large file uploads. I cannot get it to upload a file larger than roughly ~1.3GB. With direct access everything works fine, so the issue is in my Swag configuration. I tried the recommended configuration from immich like @NLZ and also took a sample from the provided example nginx config from immich that looks similar to @Tzundoku posted config. I have no entries regarding an error 413 or similar. It just stops at this size. Does anyone have a clue where the issue could be? |
Beta Was this translation helpful? Give feedback.
-
Updated as of 2023-12-07 on v1.89 |
Beta Was this translation helpful? Give feedback.
-
working as of 2023-12-07:
Beta Was this translation helpful? Give feedback.
All reactions