Skip to content

Instantly share code, notes, and snippets.

@mortezadalil
Created March 24, 2022 16:10
Show Gist options
  • Save mortezadalil/729c169aa0eba85b88bdfa0d237b6580 to your computer and use it in GitHub Desktop.
Save mortezadalil/729c169aa0eba85b88bdfa0d237b6580 to your computer and use it in GitHub Desktop.
version: '3'
services:
catalog.api:
image: catalogapi
container_name: catalogapi
build:
context: ./Catalog.Api
dockerfile: dockerfile
catalog.db:
image: mongo
container_name: catalogdb
basket.api:
image: basketapi
container_name: basketapi
build:
context: ./Basket.Api
dockerfile: dockerfile
basket.db:
image: redis
container_name: redisdb
discount.api:
image: discountapi
container_name: discountapi
build:
context: ./Discount.Api
dockerfile: dockerfile
discount.db:
image: postgres
container_name: postgresdb
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment