Skip to content

Commit

Permalink
Refactor/open postgres on osparc public (#647)
Browse files Browse the repository at this point in the history
* Open Postgres on osparc-public

* lint

---------

Co-authored-by: Dustin Kaiser <[email protected]>
  • Loading branch information
mrnicegyu11 and mrnicegyu11 committed Apr 9, 2024
1 parent 7e8ef21 commit 8b5ad99
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions services/simcore/docker-compose.deploy.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ services:
deploy:
labels:
- prometheus-job=traefik_simcore_production
# oSparc postgres
- traefik.tcp.routers.${SWARM_STACK_NAME}_postgresRoute.entrypoints=postgres
- traefik.tcp.routers.${SWARM_STACK_NAME}_postgresRoute.entrypoints=${PREFIX_STACK_NAME}_postgres
- traefik.tcp.routers.${SWARM_STACK_NAME}_postgresRoute.tls=false
- traefik.tcp.routers.${SWARM_STACK_NAME}_postgresRoute.service=${SWARM_STACK_NAME}_postgresRoute
- traefik.tcp.services.${SWARM_STACK_NAME}_postgresRoute.loadbalancer.server.port=5432
- "traefik.tcp.routers.${SWARM_STACK_NAME}_postgresRoute.rule=ClientIP(`195.176.8.0/24`) || ClientIP(`10.0.0.0/8`) || ClientIP(`172.16.0.0/12`) || ClientIP(`192.168.0.0/16`)"

wb-garbage-collector:
hostname: "{{.Service.Name}}"
payments:
Expand Down

0 comments on commit 8b5ad99

Please sign in to comment.