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

Docker compose exmaple? #4307

Open
SawkeeReemo opened this issue Apr 18, 2024 · 0 comments
Open

Docker compose exmaple? #4307

SawkeeReemo opened this issue Apr 18, 2024 · 0 comments

Comments

@SawkeeReemo
Copy link

I use docker compose for several containers, but I'm not always sure how to convert a docker run command to a compose. Building on an Ubuntu LTS 22.04 system, Docker v26.0.2, Docker Compose version v2.26.1.

Here is my initial attempt, but would love some confirmation to know if I'm doing it correctly:

  monero:
    image: monero:build-env-linux:v0.18.3.3
    container_name: monero
    command: sh -c 'make release-static -j4'
    volumes:
      - /my_config_dir/monero:/monero-gui

My guesses:
image tag, assuming that's correct?
command, no idea if I need that or what to do there.

Any help would be greatly appreciated! And then once it's running, how do I access it? I don't see any ports or environmental variables to add, which usually determines how I access a container.

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