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

How to setup bucket on docker server startup? #8689

Open
mglowinski93 opened this issue Mar 17, 2025 · 0 comments
Open

How to setup bucket on docker server startup? #8689

mglowinski93 opened this issue Mar 17, 2025 · 0 comments

Comments

@mglowinski93
Copy link
Contributor

Hi,
I've docker compose configuration like this:

    image: "motoserver/moto:5.1.1"
    restart: "no"
    container_name: management-application-template-aws-mock-development
    networks:
      management-application-template:
    ports:
      - "3000:3000"
    volumes:
      - "management-application-template-aws-mock-volume:/data"
    environment:
      MOTO_PORT: 3000
    healthcheck:
      test: [ "CMD-SHELL", "curl --fail http://localhost:3000/ || exit 1" ]
      interval: 5s
      timeout: 5s
      retries: 5

What is recommended way to setup required configuration e.g. creating a bucket on startup?

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

1 participant