Problem when i use docker-compose / podman-compose

Im have a problem use docker-compose and podman-compose, when up the containers they keep give this error:
No description
32 Replies
Khovet
KhovetOP•7mo ago
This is the dockerfiles and the docker-compose.yaml
No description
No description
No description
No description
wolfyreload
wolfyreload•7mo ago
Lets take a step back before you try and do compose files. Does this work?
podman run hello-world
podman run hello-world
I get this
No description
Prinny
Prinny•7mo ago
not sure this counts as a bazzite issue but... anyways could you 1) share your docker-compose feel free to mask whatever personal stuff is in there 2) did you create the secret in podman? remember that docker and podman will surely manage secrets differently 3) what exactly are you mounting ? did you give it read write permission? usually not needed but I have no idea how things are set up in your compose file ah betrayed lol i posted and all the posts lloaded up ignore my message i think
Prinny
Prinny•7mo ago
but yea i'd start with the hello world. your compose file makes me question some things like i've never seen delegated in a compose only ro/rw
No description
Khovet
KhovetOP•7mo ago
I don't even know anymore why this is here A was sleeping, gonna answer all questions in feel minutes.
Prinny
Prinny•7mo ago
enjoy the weekend dude /dudette just whenever you have the time
Khovet
KhovetOP•7mo ago
It's friday(dont if this is right) here and 3pm, dont worry.
Khovet
KhovetOP•7mo ago
https://github.com/BuzzTech-API/API_ADS_4SEMESTRE_2024.1.git for clone the repository, there are submodule in there.
GitHub
GitHub - BuzzTech-API/API_ADS_4SEMESTRE_2024.1: Repositório para AP...
Repositório para API do 4 semestre de Análise e Desenvolvimento de Software na Fatec - Prof. Jessen Vidal - BuzzTech-API/API_ADS_4SEMESTRE_2024.1
Khovet
KhovetOP•7mo ago
No description
Khovet
KhovetOP•7mo ago
Yes, like in the image. i'll let this here until i solve my problem after that iam gonna delete. about 2 i dont know how to do what you say because i dont use podman and the way was using in docker usually work, and 3 archivies to develop. i try my best to awnser, if something is weird in the text just ask that i try to fix.
Prinny
Prinny•7mo ago
well that's okay, i think you can just use a devcontainer and install docker if you need to hurry up and get things done to be honest vscode has pretty neat integration with them so its just picking up what you need tho you need to install a docker extension from a year ago since the api responses changed (different from podman/docker)
Khovet
KhovetOP•7mo ago
there is one little problem, i use neovim. KKKKKKKKKKKKKK
Prinny
Prinny•7mo ago
ah a fellow masochist
Khovet
KhovetOP•7mo ago
KKKKKKKKKKKKKK
Prinny
Prinny•7mo ago
i do use vim mode in vscode
Khovet
KhovetOP•7mo ago
is the primogen fault im not in hurry to solve this, because in my desktop im using windows with wsl, so i use there until i dont fix in my laptop.
Prinny
Prinny•7mo ago
@Khovet I'll take a look during the weekend if I Can find time i think i got drained hard doing a knowledge transfer session to 90+ people been a while sigh
Khovet
KhovetOP•7mo ago
wow, that should be really hard.
Prinny
Prinny•7mo ago
yea... it is on me I didn't notice how big it was until we got there so completely underestimated it haha me: "90 people with programming questions? oh fuck me" aight well not gonna bore you on this
Khovet
KhovetOP•7mo ago
You are frontend ou backend?
Prinny
Prinny•7mo ago
i've done both over the years i'm bored of both as well 😂
Khovet
KhovetOP•7mo ago
no problem its kind fun talk to people i dont jugde you, i am college and alredy got stress
Prinny
Prinny•7mo ago
well I hope you like being bald (kidding)
Khovet
KhovetOP•7mo ago
KKKKKKKKKKKK i have long hair and he still strong here.
2Kaleb
2Kaleb•7mo ago
Might also need help with podman compose
Prinny
Prinny•7mo ago
think i'm almost done 🙂 did say i was going to take a look over the weekend
No description
Prinny
Prinny•7mo ago
the frontend is running but i have no idea where to go lol
Prinny
Prinny•7mo ago
alright what I did ... podman secret create db-password ./db/password.txt if you are going to mount a directory in podman youll most likely have to use the z modifier in it so like ./local:/container/local:z the rest of the changes are in https://github.com/thndgonz/API_ADS_4SEMESTRE_2024.1 which is just the docker-compose you'll have to figure out the rest from here
No description
Prinny
Prinny•7mo ago
problem is I think you are better off using a devcontainer for this haha and probably tmux if you stick with neovim and just use docker to avoid any sort of quirky behavior podman introduces anyways good luck
Khovet
KhovetOP•7mo ago
I alredy have listen about tmux but never have search for and devcontainer i dont know abot gonna search more abot. Thanks for your help and your dedication!
Prinny
Prinny•7mo ago
no problem though thats a bit too much I didn't do much but edit some things in docker-compose haha if you keep using podman do remember to do podman compose down -v to remove the mysql volume else it will keep throwing errors because it never loaded up the init.sql. then just podman compose up . good luck and don't go crazy haha remember the mission is finishing the project 😛
Khovet
KhovetOP•7mo ago
KKKKKKKKKKKKK yeah i know.
Want results from more Discord servers?
Add your server