We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi I want to provide config file to the docker container via docker compose file.
I am sure there is some way to do that, it would be great someone can help me out with this.
Thanks.
The text was updated successfully, but these errors were encountered:
Maybe just add this line at the end of the docker-compose.yaml?
" entrypoint: ["/bin/ftpserver","-conf","/apps/ftpserver.json"]" (with the spaces, because it is a yaml)
Sorry, something went wrong.
Just mount the config file into the container as a volume. Here's my trivial docker-compse file, note the ftpserver.json volume:
docker-compse
ftpserver.json
services: ftp: image: fclairamb/ftpserver:latest container_name: ftp volumes: - /data/media/ftp/ftpserver.json:/app/ftpserver.json:ro - /var/ftproot:/ftproot - /etc/acme-sh/scotte.ai_ecc/scotte.ai.key:/key.pem:ro - /etc/acme-sh/scotte.ai_ecc/scotte.ai.cer:/cert.pem:ro ports: - "2121-2130:2121-2130/tcp"
No branches or pull requests
Hi I want to provide config file to the docker container via docker compose file.
I am sure there is some way to do that, it would be great someone can help me out with this.
Thanks.
The text was updated successfully, but these errors were encountered: