forked from joakimhew/netcore-grpc-docker-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 1.36 KB
/
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
43
44
45
46
47
version: '3.5'
services:
examplegateway:
image: examplegateway:${TAG:-latest}
build:
context: .
dockerfile: src/Gateways/ExampleGateway/Dockerfile
environment:
- USER_SERVICE_NAME=${USER_SERVICE_NAME}
- USER_SERVICE_PORT=${USER_SERVICE_PORT}
- TOKEN_SERVICE_NAME=${TOKEN_SERVICE_NAME}
- TOKEN_SERVICE_PORT=${TOKEN_SERVICE_PORT}
- CRYPTO_SERVICE_NAME=${CRYPTO_SERVICE_NAME}
- CRYPTO_SERVICE_PORT=${CRYPTO_SERVICE_PORT}
ports:
- "${EXAMPLE_GATEWAY_PORT}:${EXAMPLE_GATEWAY_PORT}"
userservice:
image: userservice:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Security/UserService/Dockerfile
ports:
- "${USER_SERVICE_PORT}:${USER_SERVICE_PORT}"
environment:
- USER_SERVICE_PORT=${USER_SERVICE_PORT}
tokenservice:
image: tokenservice:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Security/TokenService/Dockerfile
ports:
- "${TOKEN_SERVICE_PORT}:${TOKEN_SERVICE_PORT}"
environment:
- TOKEN_SERVICE_PORT=${TOKEN_SERVICE_PORT}
cryptoservice:
image: cryptoservice:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Security/CryptoService/Dockerfile
ports:
- "${CRYPTO_SERVICE_PORT}:${CRYPTO_SERVICE_PORT}"
environment:
- CRYPTO_SERVICE_PORT=${CRYPTO_SERVICE_PORT}