Skip to content

Commit

Permalink
[ci] docker network 변경
Browse files Browse the repository at this point in the history
docker network 변경
  • Loading branch information
YeaChan05 committed Jun 17, 2024
1 parent 4a430f7 commit 2723c22
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ services:
- app3
- prometheus
- grafana
networks:
- server-network

app1:
image: "yeachan05/application:latest"
Expand All @@ -34,8 +32,6 @@ services:
- redis
volumes:
- /home/ec2-user/application-prod.yml:/config/application-prod.yml
networks:
- server-network

app2:
image: "yeachan05/application:latest"
Expand All @@ -47,8 +43,6 @@ services:
- redis
volumes:
- /home/ec2-user/application-prod.yml:/config/application-prod.yml
networks:
- server-network

app3:
image: "yeachan05/application:latest"
Expand All @@ -60,8 +54,6 @@ services:
- redis
volumes:
- /home/ec2-user/application-prod.yml:/config/application-prod.yml
networks:
- server-network

redis:
container_name: redis
Expand All @@ -71,8 +63,6 @@ services:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- server-network

prometheus:
image: prom/prometheus
Expand All @@ -85,8 +75,6 @@ services:
- "9090:9090"
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- server-network

grafana:
image: grafana/grafana
Expand All @@ -98,8 +86,6 @@ services:
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}
volumes:
- grafana-storage:/var/lib/grafana
networks:
- server-network

mysqld_exporter:
image: quay.io/prometheus/mysqld-exporter
Expand All @@ -111,14 +97,8 @@ services:
- "9104:9104"
volumes:
- /home/ec2-user/my.cnf:/etc/mysql/my.cnf
networks:
- server-network

volumes:
grafana-storage:
prometheus-data:
redis-data:

networks:
server-network:
driver: bridge

0 comments on commit 2723c22

Please sign in to comment.