services: mock-oauth2-server: image: ghcr.io/navikt/mock-oauth2-server:latest ports: - "8080:8080" volumes: - ./src/test/resources/config-ssl.json:/app/config.json environment: LOG_LEVEL: "debug" SERVER_PORT: 8080 JSON_CONFIG_PATH: /app/config.json healthcheck: test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/isalive" ] start_period: 5s retries: 10 interval: 2s timeout: 1s