-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker.compose.yml
42 lines (41 loc) · 990 Bytes
/
docker.compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3.4"
services:
restaurant.sql:
image: postgres:9.5
restart: always
environment:
POSTGRES_PASSWORD: postgres
restaurant.eventstore:
image: postgres:9.5
restart: always
environment:
POSTGRES_PASSWORD: postgres
restaurant.client:
image: restaurantclient
build:
context: ./client
dockerfile: ./Dockerfile
args:
REACT_APP_ENVIRONMENT: development
ports:
- "3000:3000"
restaurant.api:
image: restaurantapi
build:
context: ./server
dockerfile: ./src/server/Restaurant.Api/Dockerfile
args:
DOTNET_BUILD_CONFIGURATION: Debug
ASPNETCORE_ENVIRONMENT: Development
ports:
- "5000:80"
- "5100:443"
environment:
ASPNETCORE_HTTPS_PORT: 5100
ASPNETCORE_URLS: https://+;http://+
depends_on:
- restaurant.sql
- restaurant.eventstore
links:
- restaurant.sql:relationaldb
- restaurant.eventstore:eventstore