Andreas Svanberg 1aa1532ce7
All checks were successful
/ build (push) Successful in 2m10s
Publish container to package registry / docker-build-test-publish (push) Successful in 5m18s
Automatically publish container images on tag push (#17)
When tags matching the pattern 'v*' are pushed a new image is built and published. It is tagged with the number, and the "latest" rolling tag is updated.

Reviewed-by: Stefan Nenzén <nenzen@dsv.su.se>
Reviewed-on: #17
2026-02-23 10:53:05 +01:00
2025-03-21 15:14:33 +01:00
2025-03-21 15:14:43 +01:00
2025-03-25 12:44:32 +01:00
2025-03-21 15:14:33 +01:00
2026-02-20 09:39:20 +01:00

Using as an embedded Docker Compose service

services:
  oauth2:
    image: gitea.dsv.su.se/dmc/oauth2:latest
    ports:
      - "<host_port>:8080"
    environment:
      CLIENT_ID=awesome-app
      CLIENT_SECRET=p4ssw0rd
      CLIENT_REDIRECT_URI=http://localhost/oauth2/callback

Development

Prerequisites

  • JDK 17 (or later)
  • Docker
  • Docker compose 2.24.0 (or later)

Run mvnw spring-boot:run to start the application.

If running via IntelliJ or some other means make sure the "dev" Spring profile is activated. You may have to run mvnw compile to generate any necessary files.

The application will be available at http://localhost:8080

Description
No description provided
Readme 645 KiB
Languages
Java 99%
Dockerfile 0.9%
CSS 0.1%