Skip to content

How to config password in docker compose? #204

Answered by akoken
vimutti77 asked this question in Q&A
Discussion options

You must be logged in to vote

@Misiu That should work:

services:
    garnet:
        ulimits:
           memlock: -1
        image: ghcr.io/microsoft/garnet
        volumes:
            - garnet-data:/data
        ports:
            - "6379:6379"
        command: --auth Password --password <replace_password_here>

volumes:
    garnet-data:

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by badrishc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants