Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Devops/compose files - #554

Merged
MikeNeilson merged 7 commits into
mainfrom
devops/compose-files
Sep 25, 2025
Merged

Devops/compose files#554
MikeNeilson merged 7 commits into
mainfrom
devops/compose-files

Conversation

@MikeNeilson

Copy link
Copy Markdown
Collaborator

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

@krowvin krowvin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

  1. Clone Repo: git clone https://github/opendcs/rest_api
  2. Run docker compose: docker compose up
  3. Navigate to: http://localhost:7000
  4. Enter username: app
  5. Enter password: app_pass (from docker-compose.yaml)
  6. BONUS: Manipulate database via web interface http://localhost:5050 or via exposed port

Comment thread .gitattributes
@@ -0,0 +1 @@
*.sh text eol=lf No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love to see it

@sonarqubecloud

Copy link
Copy Markdown

@MikeNeilson
MikeNeilson merged commit 8491f2b into main Sep 25, 2025
10 checks passed
@MikeNeilson
MikeNeilson deleted the devops/compose-files branch September 25, 2025 22:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants