Skip to content

Commit

Permalink
Remove dockerhub unsafe images. Replace haproxy by official certified…
Browse files Browse the repository at this point in the history
… Traefik image.
  • Loading branch information
lgrateau committed Oct 2, 2024
1 parent f9d8a37 commit 16e6d60
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions odm-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,14 @@ services:
- FROMDOCKERBUILD=$FROMDOCKERBUILD
- FROMLIBERTYBUILD=$FROMLIBERTY
- PACKAGELIST=$PACKAGELIST
labels:
- "traefik.http.routers.whoami.rule=Host(`localhost`)"
depends_on:
- traefik
links:
- dbserver
- odm-decisionserverconsole
- traefik
environment:
- EXCLUDE_PORTS=9443
ports:
Expand Down Expand Up @@ -112,12 +117,15 @@ services:
- 9453:9453

# The load balancer for the Runtime.
lb:
image: dockercloud/haproxy
links:
- odm-decisionserverruntime
volumes:
- /var/run/docker.sock:/var/run/docker.sock
traefik:
image: "traefik:v3.1"
container_name: "traefik"
command:
#- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
ports:
- 80:80
- 1936:1936
- "80:80"
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"

0 comments on commit 16e6d60

Please sign in to comment.