This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Devops/compose files - #554
Merged
Merged
Conversation
krowvin
approved these changes
Sep 25, 2025
There was a problem hiding this comment.
Looks good, but I still think it would be good to include a table of the the various IP, Or even just do an echo command in the compose somehow to list all the various IP.
This will make it real simple for newer folks to get going. It took me a few cycles to realize the env vars were the login creds...
I.e.
Service Connections
| Service | Host / IP | Port (Host -> Container) | Connection String |
|---|---|---|---|
| db (Postgres) | localhost or container name db |
5432 -> 5432 |
jdbc:postgresql://localhost:5432/dcs (user: dcs_owner, pass: dcs_password) |
| migration | Runs one-time init job, no exposed port | – | Uses DATABASE_URL=jdbc:postgresql://db:5432/dcs internally |
| api | localhost |
7000 -> 7000 |
http://localhost:7000 |
| pgadmin | localhost |
5050 -> 80 |
http://localhost:5050 (login: user@exaple.com / admin123) |
Quick Start
- Clone Repo:
git clone https://github/opendcs/rest_api - Run docker compose:
docker compose up - Navigate to: http://localhost:7000
- Enter username:
app - Enter password:
app_pass(fromdocker-compose.yaml) - BONUS: Manipulate database via web interface http://localhost:5050 or via exposed port
| @@ -0,0 +1 @@ | |||
| *.sh text eol=lf No newline at end of file | |||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Create docker-compose file for OpenDCS-Postgres to allow users to get started quickly on webui/rest-api development.