Created
January 26, 2023 12:00
-
-
Save sayeed1999/1f566d9ad06dee20bf2dfe76c24c0638 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "1.0.0" | |
services: | |
# mysqldb: | |
# container_name: mysqldb | |
# image: mysql:latest | |
# restart: unless-stopped | |
# ports: | |
# - "3306:3306" | |
# environment: | |
# - MYSQL_ROOT_PASSWORD=123456 | |
# - MYSQL_ALLOW_EMPTY_PASSWORD | |
# - MYSQL_DB=auth | |
api-gateway: | |
container_name: api-gateway | |
build: ./api-gateway | |
restart: unless-stopped | |
command: npm start | |
ports: | |
- "4000:4000" | |
auth-service: | |
# depends_on: | |
# - mysqldb | |
container_name: auth-service | |
build: ./auth-service | |
restart: unless-stopped | |
command: npm start | |
ports: | |
- "4001:4001" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment