services: url-shortener: build: . container_name: go-url-shortener ports: - "8080:8080" environment: ADDR: ":8080" BASE_URL: "http://localhost:8080" DB_PATH: "/data/shortener.db" # local = Demo-Login ohne OIDC. Für PocketID auf oidc setzen. AUTH_MODE: "local" # PocketID/OIDC Beispiel: # AUTH_MODE: "oidc" # OIDC_ISSUER: "https://pocketid.example.com" # OIDC_CLIENT_ID: "deine-client-id" # OIDC_CLIENT_SECRET: "dein-client-secret" # OIDC_REDIRECT_URL: "http://localhost:8080/auth/callback" # OIDC_SCOPES: "openid profile email" # SESSION_SECRET: "bitte-mindestens-32-zeichen-langer-geheimer-string" volumes: - shortener-data:/data restart: unless-stopped volumes: shortener-data: