Coder Social home page Coder Social logo

Comments (3)

azza13b avatar azza13b commented on July 18, 2024

I have been doing some testing and I feel like the links stop working if I do a dock-compose up and down?

redis:
container_name: redis
image: 'redis:alpine'
restart: always
volumes:
- send-redis:/data

send:
image: 'registry.gitlab.com/timvisee/send:latest'
container_name: send
restart: always
ports:
- '1234:1234'
volumes:
- ./send/uploads:/uploads
environment:
- VIRTUAL_HOST=localhost
- VIRTUAL_PORT=1234
- DHPARAM_GENERATION=false
- LETSENCRYPT_HOST=localhost
- LETSENCRYPT_EMAIL=admin@
- NODE_ENV=production
- BASE_URL=https://send.
- PORT=1234
- REDIS_HOST=redis
- CUSTOM_FOOTER_TEXT=
- UI_COLOR_PRIMARY=#d41b22
- UI_COLOR_ACCENT=#af1f24
- CUSTOM_DESCRIPTION=Securely share your files with end-to-end encryption.
- CUSTOM_TITLE=
- SEND_FOOTER_SOURCE_URL=
- SEND_FOOTER_CLI_URL=
- EXPIRE_TIMES_SECONDS=2592000,5184000
- DOWNLOAD_COUNTS=50,70
- DEFAULT_DOWNLOADS=50
- MAX_EXPIRE_SECONDS=5184000
- DEFAULT_EXPIRE_SECONDS=2592000

volumes:
send-redis:

My proxy is in another container could that be th eissue?

  • LETSENCRYPT_HOST=localhost?

from send.

timvisee avatar timvisee commented on July 18, 2024

Are you sure Send properly connects to the Redis instance? If there's problems there files will be lost when restarting the container.

Inspecting the logs may show valuable information on this.

from send.

azza13b avatar azza13b commented on July 18, 2024

Thank you for the swift response! I will have to buy you a coffee.

Reviewing the send container logs, no errors were thrown. Initially, the redis container reported a memory overcommit issue, but after adjusting the host parameters, this warning has ceased. Network connectivity tests, including the nc command from the send container to the redis container on port 6379 and pinging between the containers, were successful.

I’ve also modified the docker-compose.yaml to establish a network linking the send, redis, and nginx-proxy-manager containers.

After the above, I did a quick test and the download links remain non-functional post-restart of the docker containers.

Where would you go looking next? Should I set a configuration file for the redis container? Is there another direction you would suggest?

from send.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.