backend-auth integration
parent
4c2667aafc
commit
a790d37251
|
@ -1 +1 @@
|
|||
Subproject commit 3879bbb3e6f3875b16df533fade2959d4aaa7a7b
|
||||
Subproject commit 6986ae3eb5e570536af4838478825b0bfb977408
|
|
@ -1 +1 @@
|
|||
Subproject commit d323083f744eedc8bd3487d3177a12abfbd59099
|
||||
Subproject commit 6b446d85d0bae4c19eb6364c65b9e7fea4ee4197
|
|
@ -1 +1 @@
|
|||
Subproject commit 413015945aa5ea985ab3626df147f61299671741
|
||||
Subproject commit cbf2cc6d0cf885ba74f0c5707ebc4f1a389939ef
|
|
@ -1 +1 @@
|
|||
Subproject commit d22df9b05b732c270ceca90d4336a840ac99842e
|
||||
Subproject commit 58481cfff2071b7c7b704ce21cae004a661abf8f
|
|
@ -1 +1 @@
|
|||
Subproject commit 8f6481ecf5d09010a91003182e963a1854e18f50
|
||||
Subproject commit a5540dff2283b4bc7e847962403d61f37a177816
|
|
@ -1 +1 @@
|
|||
Subproject commit d4773c0c5eaff4bd6f63470e82dd787dcb9bb39d
|
||||
Subproject commit d42355dd651aa2e75ccdb9d806a3f3a43deaee49
|
|
@ -19,6 +19,7 @@ services:
|
|||
- ./traefik.toml:/traefik.toml
|
||||
networks:
|
||||
- traefiknet
|
||||
- authnet
|
||||
|
||||
pg:
|
||||
build: ./backend-core/postgres
|
||||
|
@ -91,6 +92,18 @@ services:
|
|||
ports:
|
||||
- "10204:10204"
|
||||
|
||||
auth:
|
||||
build: ./backend-auth
|
||||
tty: true
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- LISTEN=127.0.0.1:10205
|
||||
- SECRET=secret
|
||||
ports:
|
||||
- "10205:10205" # Remove this for production
|
||||
networks:
|
||||
- authnet
|
||||
|
||||
# Pipeline
|
||||
bite:
|
||||
build: ./backend-bite
|
||||
|
@ -159,6 +172,7 @@ services:
|
|||
- traefiknet
|
||||
|
||||
networks:
|
||||
authnet:
|
||||
pgnet:
|
||||
natsnet:
|
||||
redisnet:
|
||||
|
|
|
@ -4,6 +4,10 @@ dashboard = true
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":80"
|
||||
[entryPoints.http.auth.forward]
|
||||
address = "http://auth:10205"
|
||||
trustForwardHeader = true
|
||||
authResponseHeaders = [ "X-User-Claim" ]
|
||||
[entryPoints.traefik]
|
||||
address = ":8080"
|
||||
|
||||
|
|
Loading…
Reference in New Issue