Skip to content

Commit 7567d41

Browse files
author
SnO₂WMaN
authored
開発時の利便性のためにポートを開いておく (#69)
1 parent dede947 commit 7567d41

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ services:
112112
networks:
113113
- neo4j-core
114114
ports:
115-
- published: $NEO4J_HTTP_PORT
115+
- published: $NEO4J_CORE_HTTP_PORT
116116
target: 7474
117-
- published: $NEO4J_BOLT_PORT
117+
- published: $NEO4J_CORE_BOLT_PORT
118118
target: 7687
119119
healthcheck: *neo4j-healthcheck
120120
volumes:
@@ -297,6 +297,9 @@ services:
297297
- imageproxy
298298
- users-mysql-core
299299
- api-read-users
300+
ports:
301+
- published: $API_READ_USERS_SERVICE_PORT
302+
target: 4000
300303
environment:
301304
PORT: 4000
302305
PRISMA_DATABASE_URL: mysql://root:${USERS_MYSQL_CORE_ROOT_PASSWORD}@users-mysql-core:3306/${USERS_MYSQL_CORE_DATABASE}
@@ -306,6 +309,9 @@ services:
306309
image: ghcr.io/bo2kshelf/current-user-service:develop@sha256:d4ce638cb14d4533ed36780bcf124422eacd395c531aded57cd8cfa6116fc569
307310
networks:
308311
- api-current-user
312+
ports:
313+
- published: $API_CURRENT_USER_SERVICE_PORT
314+
target: 4000
309315
environment:
310316
PORT: 4000
311317
JWT_SECRET: $API_JWT_SECRET
@@ -318,6 +324,9 @@ services:
318324
networks:
319325
- neo4j-core
320326
- api-read-contents
327+
ports:
328+
- published: $API_READ_CONTENTS_SERVICE_PORT
329+
target: 4000
321330
environment:
322331
PORT: 4000
323332
NEO4J_URL: neo4j://neo4j-core:7687
@@ -332,6 +341,9 @@ services:
332341
networks:
333342
- neo4j-core
334343
- api-read-records
344+
ports:
345+
- published: $API_READ_RECORDS_SERVICE_PORT
346+
target: 4000
335347
environment:
336348
PORT: 4000
337349
NEO4J_URL: neo4j://neo4j-core:7687
@@ -346,6 +358,9 @@ services:
346358
depends_on:
347359
api-bookcover-service-redis:
348360
condition: service_healthy
361+
ports:
362+
- published: $API_BOOKCOVER_SERVICE_PORT
363+
target: 4000
349364
environment:
350365
PORT: 4000
351366
RAKUTEN_APPLICATION_ID: $RAKUTEN_APPLICATION_ID

0 commit comments

Comments
 (0)