akash-network / console

Deploy docker containers on the Akash Network
https://console.akash.network
Apache License 2.0
43 stars 34 forks source link

chore: setup prod and dev docker with compose #236

Closed ygrishajev closed 4 weeks ago

ygrishajev commented 1 month ago

This PR introduces several enhancements to the Docker setup:

With these changes, we can ensure that any developer can test and run the project in any environment, whether it's for development, continuous integration, or production, providing a consistent and reliable setup across all stages.

baktun14 commented 1 month ago

We need to test actually deploying in prod with this config

ygrishajev commented 1 month ago

After some thinking I removed the dep on .env.local for some services in docker compose file. Added a .env.sandbox.docker-compose-dev to git having all that's needed for staging

ygrishajev commented 1 month ago

@baktun14 @baktun14 improved this further today:

ygrishajev commented 1 month ago

@baktun14 @Redm4x another thing is I noticed that console is served on port 3001 https://github.com/akash-network/cloudmos/blob/main/apps/deploy-web/deploy.yml#L15 which basically means that Nginx is unused. So I removed the config and relevant steps in the Dockerfile. Let me know if I'm missing anything.