Skip to content

Commit

Permalink
set: docker-compose.yml network 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwhsk0 committed Jun 19, 2024
1 parent e0ad822 commit 5556347
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,13 @@ services:
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_BASIC_ENABLED=false
depends_on: springboot
networks:
- npage

k6:
image: grafana/k6:latest
container_name: k6
networks:
- npage
ports:
- "6565:6565"
environment:
Expand All @@ -106,6 +105,8 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway" # 호스트와 연결(로컬테스트를 위함)
command: ["run", "/scripts/test_script.js"]
networks:
- npage

influxdb:
image: influxdb:1.8
Expand Down Expand Up @@ -133,6 +134,8 @@ services:
- '--web.console.templates=/usr/share/prometheus/consoles'
user: root
restart: always
networks:
- npage

networks:
npage:
Expand Down

0 comments on commit 5556347

Please sign in to comment.