123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- services:
- transfer-sh:
- container_name: transfer-sh
- image: dutchcoders/transfer.sh:latest-noroot
- command: "--provider local"
- restart: on-failure:3
- mem_limit: 200M
- volumes:
- - ./data/temp:/mnt/transfer-sh/temp:rw
- - ./data/files:/mnt/transfer-sh/files:rw
- - ./data/frontend:/mnt/transfer-sh/frontend:rw
-
- environment:
- HTTP_AUTH_USER: ${HTTP_AUTH_USER}
- HTTP_AUTH_PASS: ${HTTP_AUTH_PASS}
- TEMP_PATH: /mnt/transfer-sh/temp
- BASEDIR: /mnt/transfer-sh/files
- # WEB_PATH: /mnt/transfer-sh/frontend
- RANDOM_TOKEN_LENGTH: ${RANDOM_TOKEN_LENGTH}
- VIRTUAL_HOST: ${VIRTUAL_HOST}
- LETSENCRYPT_HOST: ${VIRTUAL_HOST}
- LETSENCRYPT_EMAIL: webmaster@${VIRTUAL_HOST}
- # IP_WHITELIST: 217.10.5.214,217.10.14.237
- PURGE_DAYS: ${PURGE_DAYS}
- PURGE_INTERVAL: ${PURGE_INTERVAL}
- networks:
- - reverse-proxy_default
- transfer-sh-in:
- container_name: transfer-sh-in
- image: dutchcoders/transfer.sh:latest-noroot
- command: "--provider local"
- restart: on-failure:3
- mem_limit: 200M
- volumes:
- - ./data/temp:/mnt/transfer-sh/temp:rw
- - ./data/files:/mnt/transfer-sh/files:rw
- - ./data/frontend:/mnt/transfer-sh/frontend:rw
-
- environment:
- # HTTP_AUTH_USER: ${HTTP_AUTH_USER}
- # HTTP_AUTH_PASS: ${HTTP_AUTH_PASS}
- TEMP_PATH: /mnt/transfer-sh/temp
- BASEDIR: /mnt/transfer-sh/files
- # WEB_PATH: /mnt/transfer-sh/frontend
- RANDOM_TOKEN_LENGTH: ${RANDOM_TOKEN_LENGTH}
- VIRTUAL_HOST: ${VIRTUAL_HOST_IN}
- LETSENCRYPT_HOST: ${VIRTUAL_HOST_IN}
- LETSENCRYPT_EMAIL: webmaster@${VIRTUAL_HOST_IN}
- IP_WHITELIST: ${IP_WHITELIST}
- networks:
- - reverse-proxy_default
- networks:
- reverse-proxy_default:
- external: true
|