version: '3.4' services: echo: image: jmalloc/echo-server ports: - "8080:8080" proxy: image: ooproxy build: context: .. environment: - LISTEN_URL=0.0.0.0:8081 - LISTEN_SSL_URL=0.0.0.0:4433 - PROVIDER_URL=http://identity - UPSTREAM_URL=http://echo:8080 - CERT_FILE=test.pfx - CERT_PASSWORD=idsrv3test - RUST_LOG=info links: - identity - echo ports: - "8081:8081" - "4433:4433" volumes: - ./test.pfx:/test.pfx depends_on: - identity - echo # Discovery: curl localhost/.well-known/openid-configuration # JWKS: curl localhost/.well-known/openid-configuration/jwks # Get token: curl -X POST -d "client_id=&client_secret=&grant_type=client_credentials" localhost/connect/token # Authenticate with token: curl -H "Authorization: Bearer ey..." "http://localhost:8081" identity: image: identityserver links: - sql depends_on: - sql ports: - "80:80" environment: - SigningKey=MIIKAgIBAzCCCb4GCSqGSIb3DQEHAaCCCa8EggmrMIIJpzCCBfgGCSqGSIb3DQEHAaCCBekEggXlMIIF4TCCBd0GCyqGSIb3DQEMCgECoIIE9jCCBPIwHAYKKoZIhvcNAQwBAzAOBAjnYG7CPWV2bQICB9AEggTQYxInbu3Ez6ewpVlLG/sqhwcfTK1N4qrnCW564hVkqvURvPl2/g4ObQSWnC7WBljIQpSPS45oSg99PcKLW8onKZMCOc3UY5hRyGBrVdtQGFDEDEetAiPBt33ITSBEFlMBvOPXQ57k0y/5J4gygOP7/QJ1q89kfoz3epg1ZxNwDP+xQznrWe7XlLUnitOQ8pwOHFiNsCpWPaW3NwXvqye/ue9/W2I2mldVxdod2Zyeyw0pnw1lDxnqevlLNYCx6gZFoTOZ/dLd5mh9uoDoBr80Yn0YB+3dOOxXuJacqXoar/X1n8dF3KTTNjipN2qi+erDQfuQfhhUbW1ol9oK+tP4iNQKNaMsnWGhdqNgj7l7dBOHazij8ACbA7TIIu1kYCzGILwxjUzHyPpRb1gFnC5qNjQ7RKzMqn/itMwoSruy9rcnAQ0DR9dsBH8vAsVAxOuDCULmIhzazHRi9BTvJiDhSz1WdwdjXORZcC3BZs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sYUm0Iyr+EToFTFqwPAC15QUhpi86uI1ZJ6I+dZUbHyoUinupVjHvtBW2REb27myJUiTZH73iiNfoA1sLEC2zeGkTuXb2+qWrVIGZf/74t1HAbAMuQm/9gGG3YxKYZq1Px2EF22agPnDd+A9FbNT0zRqDoPcbc3sgvH9iRKHp9xeu35FZWDbzVX+kp+kFN2JEFnOfVUUoFNuklBuFLK2c8TRzsW+VLz288NoHTLhV9h/Ef7360CuOkaNpTEdo/ZsYWPZ2Ck8Z/fmH/R3KkURh2+uIRSCy/qczKVHz8LlEP1UqtI46PF9n517ULJusqtqLseP+H0H3IsADOTRzvt3BNbRvWeQm7XbZTCsByCzY0TdE+O5oLeyrLWNWAUJr3RsXwb2ip+oWMD2dF06jjiZ8NW3ct7Ed/cH4k1KLqoMxI5R5wk2kNG9cWOk6Gkk1ijLux+bxjzyddi7pBcQV3j1Z6DA2ZOiM+1BeWWvk2FhCzfuNoqY78eKCQ3nQhh1Z5vVEQuqHPdi8tFU0MDswHzAHBgUrDgMCGgQUIXg8gCWpI0kknMURpF+qmosoW14EFC3OZtPqayoz/t6Bu+J9rRVsdY3UAgIH0A== - Seed=1 - PublicOrigin=http://identity - FromAddress=admin@hal24k.com - ConnectionString=server=sql;database=identity;User Id=SA;Password=_TestTest24kk42_ - ASPNETCORE_ENVIRONMENT=Development - DatabaseEncryptionKey=5k0XHn0FoF/LDZt2dfHiwMf+nLEls5Zlk377kAaJPZo= sql: image: microsoft/mssql-server-linux:2017-latest ports: - "1433:1433" environment: - ACCEPT_EULA=y - SA_PASSWORD=_TestTest24kk42_