Skip to content

Commit

Permalink
feat: add libra exposed ports to swarm environment
Browse files Browse the repository at this point in the history
  • Loading branch information
William Petit committed Sep 13, 2024
1 parent 84352fa commit 16e816f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions misc/swarm/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ services:
- ./certs/ca:/certs/ca
ports:
- 22376:2376
# Ajouter les ports publiés par vos services ici
- 8080:8080 # Port Libra
- 9001:9001 # Port Console Minio
healthcheck:
test: ["CMD", "docker", "info"]
interval: 2s
start_interval: 3s
restart: on-failure

worker-1:
image: "docker:dind"
privileged: true
Expand All @@ -32,6 +36,7 @@ services:
test: ["CMD", "docker", "info"]
interval: 2s
start_interval: 3s

worker-2:
image: "docker:dind"
privileged: true
Expand All @@ -49,6 +54,8 @@ services:
test: ["CMD", "docker", "info"]
interval: 2s
start_interval: 3s

# Service d'initialisation du cluster Swarm
swarm-init:
image: "docker:dind"
depends_on:
Expand Down

0 comments on commit 16e816f

Please sign in to comment.