Skip to content

feat: Docker image build in CD and configurable P2T API URL for production#110

Merged
TaminoFischer merged 3 commits into
mainfrom
feature/docker-build-and-p2t-production-config
Feb 21, 2026
Merged

feat: Docker image build in CD and configurable P2T API URL for production#110
TaminoFischer merged 3 commits into
mainfrom
feature/docker-build-and-p2t-production-config

Conversation

@TaminoFischer

@TaminoFischer TaminoFischer commented Feb 16, 2026

Copy link
Copy Markdown
Member

Description

  • P2T: Configurable p2tApiUrl via environment (production: woped.dhbw-karlsruhe.de, dev: relative /p2t). Dev proxy target set to localhost:8082 for Docker P2T.
  • CI: Add docker_build_and_push job using woped/devops reusable workflow; requires DOCKERHUB_USERNAME and DOCKERHUB_TOKEN secrets.
  • Dockerfile: Node 20-alpine, npm ci, npm run build -- --configuration=production, nginx:alpine.

Checklist

  • Code has been tested locally
  • All existing tests pass
  • Changes are documented (inline)
  • PR adheres to the contributing guidelines
  • Reviewers have been assigned

Additional Notes

Image is pushed as woped/woped-web:<version> and woped/woped-web:latest (repo name from GitHub).

Made with Cursor

TaminoFischer and others added 3 commits February 16, 2026 22:17
- Add p2tApiUrl to environment (prod: woped.dhbw-karlsruhe.de, dev: relative)
- p2tHttpService uses environment.p2tApiUrl for API base URL
- Dev proxy target set to localhost:8082 for Docker P2T

Co-authored-by: Cursor <cursoragent@cursor.com>
- Add docker_build_and_push job using woped/devops reusable workflow
- Update Dockerfile: Node 20-alpine, npm ci, production build config
- Use nginx:alpine for runtime image

Co-authored-by: Cursor <cursoragent@cursor.com>
@TaminoFischer TaminoFischer merged commit 6d07f8e into main Feb 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants