-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker.compose.yml
42 lines (41 loc) · 925 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:
cafe.sql:
image: postgres:9.5
restart: always
environment:
POSTGRES_PASSWORD: postgres
cafe.eventstore:
image: postgres:9.5
restart: always
environment:
POSTGRES_PASSWORD: postgres
cafe.client:
image: cafeclient
build:
context: ./client
dockerfile: ./Dockerfile
args:
REACT_APP_ENVIRONMENT: development
ports:
- "3000:3000"
cafe.api:
image: cafeapi
build:
context: ./server
dockerfile: ./src/server/Cafe.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:
- cafe.sql
- cafe.eventstore
links:
- cafe.sql:relationaldb
- cafe.eventstore:eventstore