Merge branch 'feature/220523_deployment_all' into 'main'
Feature/220523 deployment all See merge request !15
Showing
4 changed files
with
49 additions
and
1 deletions
deploy.sh
0 → 100755
1 | +#!/usr/bin/env bash | ||
2 | + | ||
3 | +docker build -t daangn-api-server ./daangn/ | ||
4 | +docker build -t joongna-api-server ./joongna/ | ||
5 | +docker build -t bunjang-api-server ./bunjang/ | ||
6 | +docker build -t mamuri-db ./database/ | ||
7 | + | ||
8 | +docker-compose up -d | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
docker-compose.yml
0 → 100644
1 | +version: '3' | ||
2 | + | ||
3 | +services: | ||
4 | + daangn_api: | ||
5 | + image: daangn-api-server | ||
6 | + restart: always | ||
7 | + container_name: daangn-api-server-container | ||
8 | + ports: | ||
9 | + - '18080:8080' | ||
10 | + | ||
11 | + joongna_api: | ||
12 | + image: joongna-api-server | ||
13 | + restart: always | ||
14 | + container_name: joongna-api-server-container | ||
15 | + ports: | ||
16 | + - '18081:8080' | ||
17 | + | ||
18 | + bunjang_api: | ||
19 | + image: bunjang-api-server | ||
20 | + restart: always | ||
21 | + container_name: bunjang-api-server-container | ||
22 | + ports: | ||
23 | + - '18082:8080' | ||
24 | + | ||
25 | + db: | ||
26 | + image: mamuri-db | ||
27 | + restart: always | ||
28 | + container_name: mamuri-db-container | ||
29 | + ports: | ||
30 | + - '13060:3306' | ||
31 | + env_file: | ||
32 | + - "./database/mysql_init/.env" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment