- update: grab version info to register from the cargo package

- update: docker volume to persist the registered service IDs
- update: consul service id function to store the service id in the services folder
This commit is contained in:
2025-01-29 14:25:53 -05:00
parent b5e16f0bef
commit 292a298205
9 changed files with 32 additions and 9 deletions

View File

@@ -29,6 +29,8 @@
- session-service
- database-service
- consul
volumes:
- service_ids:/services
api-service:
build:
@@ -44,6 +46,8 @@
depends_on:
- auth-service
- consul
volumes:
- service_ids:/services
database-service:
build:
@@ -58,6 +62,8 @@
depends_on:
- db
- consul
volumes:
- service_ids:/services
character-service:
build:
@@ -72,6 +78,8 @@
depends_on:
- auth-service
- consul
volumes:
- service_ids:/services
world-service:
build:
@@ -86,6 +94,8 @@
depends_on:
- auth-service
- consul
volumes:
- service_ids:/services
packet-service:
build:
@@ -100,6 +110,8 @@
depends_on:
- auth-service
- consul
volumes:
- service_ids:/services
session-service:
build:
@@ -113,6 +125,8 @@
- .env
depends_on:
- consul
volumes:
- service_ids:/services
db:
image: postgres:17
@@ -135,4 +149,5 @@
- ./scripts/consul.json:/consul/config/cors.json
volumes:
db_data:
db_data:
service_ids: