Skip to content

Commit aa620db

Browse files
committed
fix networks in docker compose
1 parent 9be4789 commit aa620db

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docker-compose.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ x-chess-pipeline-service: &chess-pipeline-service
77
- valkey
88
volumes:
99
- chess_pipeline_logs:/logs
10-
networks:
11-
- mainnetwork
1210

1311
services:
1412
chess_pipeline:
@@ -29,8 +27,6 @@ services:
2927
- "127.0.0.1:5432:5432"
3028
env_file:
3129
- .postgres_env
32-
networks:
33-
- mainnetwork
3430
volumes:
3531
- postgres_data:/var/lib/postgresql/data
3632
- ./db:/sql_scripts:ro
@@ -40,8 +36,6 @@ services:
4036
image: valkey/valkey:alpine
4137
container_name: valkey
4238
restart: always
43-
networks:
44-
- mainnetwork
4539
ports:
4640
- "127.0.0.1:6379:6379"
4741

@@ -50,5 +44,5 @@ volumes:
5044
postgres_data:
5145

5246
networks:
53-
mainnetwork:
54-
external: true
47+
default:
48+
name: main-network

0 commit comments

Comments
 (0)