Skip to content

Commit

Permalink
chore(notes): move notes service to backend/simple directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ztdevelops committed Feb 25, 2024
1 parent a7ac5ac commit 3b6665d
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
48 changes: 24 additions & 24 deletions deployment/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,21 @@ services:
timeout: 5s
retries: 5

# notes-db:
# image: mysql:latest
# environment:
# - MYSQL_ROOT_PASSWORD=root
# - MYSQL_DATABASE=my_notes_app
# ports:
# - "3306:3306"
# volumes:
# - notes-db-volume:/var/lib/mysql
# - ../sql_table/create_notes_table.sql:/docker-entrypoint-initdb.d/create_notes_table.sql
# healthcheck:
# test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-proot"]
# interval: 10s
# timeout: 5s
# retries: 5
notes-db:
image: mysql:latest
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=my_notes_app
ports:
- "3306:3306"
volumes:
- notes-db-volume:/var/lib/mysql
- ../sql_table/create_notes_table.sql:/docker-entrypoint-initdb.d/create_notes_table.sql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-proot"]
interval: 10s
timeout: 5s
retries: 5

user-redis:
image: redis:7.2-rc2-alpine3.18
Expand All @@ -87,15 +87,15 @@ services:
timeout: 5s
retries: 5

# notes-service:
# build: ../../notes
# depends_on:
# kong-gateway:
# condition: service_healthy
# notes-db:
# condition: service_healthy
# ports:
# - "50052:50052"
notes-service:
build: ../../backend/simple/notes
depends_on:
kong-gateway:
condition: service_healthy
notes-db:
condition: service_healthy
ports:
- "50052:50052"

user-storage-service:
build: ../../backend/simple/user-storage
Expand Down

0 comments on commit 3b6665d

Please sign in to comment.