Skip to content
New issue

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

fix docker-compose #22

Open
onvrb opened this issue Jan 16, 2021 · 5 comments
Open

fix docker-compose #22

onvrb opened this issue Jan 16, 2021 · 5 comments

Comments

@onvrb
Copy link

onvrb commented Jan 16, 2021

exposing /app folder makes the container not find the entrypoint.sh

@onvrb
Copy link
Author

onvrb commented Jan 16, 2021

also, when starting the container, it errors the parameter "start_period" in healthcheck. (I don't know why, I don't know how to use healthcheck).

@SmartPhoneLover
Copy link

It stills not fixed. Any progress?

@onvrb
Copy link
Author

onvrb commented Dec 14, 2021

It stills not fixed. Any progress?

Check PR #29 . Just expose the volume /images to your host. You can also delete lines start_period, test and interval if you're not using a cluster.

@SmartPhoneLover
Copy link

It stills not fixed. Any progress?

Check PR #29 . Just expose the volume /images to your host. You can also delete lines start_period, test and interval if you're not using a cluster.

Yeah, I already mapped the '/images' internal directory, also de '/cache'. Thank you ;)

@kamil-karkus
Copy link

In case you don't want to clone this repo just use this service in docker-compose:

    imgpush:
        image: hauxir/imgpush:latest
        container_name: imgpush
        volumes:
            - data-images:/images
        ports:
            - "5000:5000"
        environment:
            - MAX_UPLOADS_PER_MINUTE=100
            - MAX_UPLOADS_PER_HOUR=5000
            - MAX_UPLOADS_PER_DAY=100000
            - VALID_SIZES=[150,300,600,900,1200]
            - NAME_STRATEGY=uuidv4

Don't forget to change environment variables and add data-images volume or change it to the bind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants