ADD: docker-compose file for deployment api-server and database
Showing
1 changed file
with
32 additions
and
0 deletions
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 | + - "./mysql_init/.env" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment