Skip to content

Commit f7e36e1

Browse files
committed
added docker-compose file
1 parent 8553b96 commit f7e36e1

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.env-files/auth-service.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PORT=80

docker-compose.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: '0.1'
2+
3+
services:
4+
auth-service:
5+
container_name: auth-service
6+
restart: always
7+
build:
8+
context: ./auth-service
9+
dockerfile: Dockerfile
10+
env_file:
11+
- ./.env-files/auth-service.env
12+
13+
application-gateway-service:
14+
container_name: application-gateway-service
15+
restart: always
16+
build:
17+
context: ./application-gateway-service
18+
dockerfile: Dockerfile
19+
external_links:
20+
- auth-service
21+
depends_on:
22+
- auth-service
23+
ports:
24+
- 80:80

0 commit comments

Comments
 (0)