Skip to content

Can't log in with docker-compose up -d, but I can with docker run #879

Closed Answered by Syndicoon
Syndicoon asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, did even more digging (on various docker related sites) and found out the command that will do what I want.

sudo docker run -d -p 7000:80 -v /mnt/mealie-db:/app/data:rw --name=mealiedb hkotel/mealie:latest

-d = detach (run in background)
-v /mnt/mealie-db:/app/data:rw = Mount the physical location /mnt/mealie-db to docker location /app/data and give it read write access
--name=mealiedb = name the docker process mealiedb
hkotel/mealie:latest = Pull the latest version of hkotel/mealie docker image

The result:
The database will be physically located on /mn/mealie-db
username: changeme@email.com
password: MyPassword

I hope this helps someone.

Replies: 1 comment

Comment options

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