Showing
1 changed file
with
11 additions
and
9 deletions
1 | version: '3' | 1 | version: '3' |
2 | 2 | ||
3 | services: | 3 | services: |
4 | + db: | ||
5 | + image: mamuri-db | ||
6 | + restart: always | ||
7 | + container_name: mamuri-db-container | ||
8 | + ports: | ||
9 | + - '13060:3306' | ||
10 | + env_file: | ||
11 | + - "./database/mysql_init/.env" | ||
12 | + volumes: | ||
13 | + - "/usr/mysql/data:/var/lib/mysql" | ||
14 | + | ||
4 | daangn_api: | 15 | daangn_api: |
5 | image: daangn-api-server | 16 | image: daangn-api-server |
6 | restart: always | 17 | restart: always |
... | @@ -21,12 +32,3 @@ services: | ... | @@ -21,12 +32,3 @@ services: |
21 | container_name: bunjang-api-server-container | 32 | container_name: bunjang-api-server-container |
22 | ports: | 33 | ports: |
23 | - '18082:8080' | 34 | - '18082:8080' |
... | \ No newline at end of file | ... | \ No newline at end of file |
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