sia-upload-legacy container

This commit is contained in:
Karol Wypchlo 2020-07-30 12:03:05 +02:00
parent 259e3ddffa
commit 17d4a1ad53
2 changed files with 15 additions and 15 deletions

View File

@ -20,18 +20,18 @@ services:
expose:
- 9980
# sia-upload-legacy:
# image: nebulouslabs/sia:dev
# container_name: sia-upload-legacy
# restart: unless-stopped
# environment:
# - SIA_MODULES=gctwr
# volumes:
# - ./docker/data/sia-upload-legacy:/sia-data
# networks:
# - shared
# expose:
# - 9980
sia-upload-legacy:
image: nebulouslabs/sia:dev
container_name: sia-upload-legacy
restart: unless-stopped
environment:
- SIA_MODULES=gctwr
volumes:
- ./docker/data/sia-upload-legacy:/sia-data
networks:
- shared
expose:
- 9980
caddy:
build:

View File

@ -14,9 +14,9 @@ set_real_ip_from 192.168.0.0/16;
real_ip_header X-Forwarded-For;
# sia-upload is for legacy portals that should keep the upload node alive
# upstream siad-upload {
# server sia-upload-legacy:9980;
# }
upstream siad-upload {
server sia-upload-legacy:9980;
}
upstream siad {
server sia:9980;