-
-
Notifications
You must be signed in to change notification settings - Fork 762
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 file #6
Comments
this is an example docker compose that i'm using for dev services:
postgres:
image: postgres:latest
environment:
POSTGRES_DB: dokploy
POSTGRES_USER: dokploy
POSTGRES_PASSWORD: amukds4wi9001583845717ad2
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:latest
ports:
- "6379:6379"
volumes:
- redis_data:/data
volumes:
postgres_data:
redis_data: |
@Rei-x sweet! Perhaps @Siumauricio is open for a PR of it |
Thank your for the interest.
But i guess is not intuitive to have like that, so let's merge the @itschip Pr's |
@Siumauricio Hey and thanks for the clarification of this. I totally missed it. I only saw a bunch of errors. If this is the desired way of doing it, perhaps have a script that runs before the actual next dev command which sets up the docker networ? As it's now spamming with errors and then you see "Redis started" after some time. |
@itschip Yeah, they initially throw errors, because if you don't have the images and services up it will automatically download, and then starts the services when you already have downloaded, I think this is something we can improve is not intuitive, only for me maybe when i was doing this lol, regarding to the network they should create the network automatically, in the case if the network is not created run this command https://github.com/Dokploy/dokploy/blob/main/server/setup/setup.ts#L27 |
I'm just noting it here @Siumauricio as it might not be easy to catch. Might not be intended in a dev env :D just noticed it now that it keeps on creating a bunch of them. |
I updated the instructions here, check the new CONTRIBUTING FILE https://github.com/Dokploy/dokploy/blob/4c2bfb95e32e90130160971615c1a07f4b0c6fdc/CONTRIBUTING.md#setup PR: #13 |
Changes are on canary branch, let me know if something goes wrong, Thank you! |
Seeing as there are some requirements to running this locally that requires installation of, ex. redis, a docker-compose file would be great to bootstrap the dev env.
I can take a go at it if you're not already working on it.
The text was updated successfully, but these errors were encountered: