Skip to content

Instantly share code, notes, and snippets.

@sayeed1999
Created January 26, 2023 12:00
Show Gist options
  • Save sayeed1999/1f566d9ad06dee20bf2dfe76c24c0638 to your computer and use it in GitHub Desktop.
Save sayeed1999/1f566d9ad06dee20bf2dfe76c24c0638 to your computer and use it in GitHub Desktop.
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