Skip to content

Commit

Permalink
dev(more-agents) More link agent for more dev nodes (required in ha m…
Browse files Browse the repository at this point in the history
…igration integration tests)
  • Loading branch information
leo-scalingo committed Sep 13, 2024
1 parent 8631441 commit 137c201
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 137c201

Please sign in to comment.