Skip to content

Commit

Permalink
Merge pull request #269 from Scalingo/dev/5-node-for-ha-migration-int…
Browse files Browse the repository at this point in the history
…egration-tests

dev(more-agents) More link agent for more dev nodes (required in ha migration integration tests)
  • Loading branch information
leo-scalingo authored Sep 13, 2024
2 parents 0a070f2 + 137c201 commit 5b4b107
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,40 @@ services:
command: reflex --all -r 'link' -s -- sh -c './link'
depends_on:
- etcd
link-4:
build: .
volumes:
- ./:/go/src/github.com/Scalingo/link
- ./_dev/go-cache:/root/.cache
cap_add:
- NET_ADMIN
network_mode: 'host'
env_file:
- .env
environment:
HOSTNAME: link-4
INTERFACE: eth13
PORT: 1316
command: reflex --all -r 'link' -s -- sh -c './link'
depends_on:
- etcd
link-5:
build: .
volumes:
- ./:/go/src/github.com/Scalingo/link
- ./_dev/go-cache:/root/.cache
cap_add:
- NET_ADMIN
network_mode: 'host'
env_file:
- .env
environment:
HOSTNAME: link-5
INTERFACE: eth14
PORT: 1317
command: reflex --all -r 'link' -s -- sh -c './link'
depends_on:
- etcd

test:
build: .
Expand Down

0 comments on commit 5b4b107

Please sign in to comment.