윤준석

Merge branch 'feature/220523_deployment_all' into 'main'

Feature/220523 deployment all



See merge request !15
FROM python:3
FROM python:alpine
WORKDIR /usr/src/app
......
#!/usr/bin/env bash
docker build -t daangn-api-server ./daangn/
docker build -t joongna-api-server ./joongna/
docker build -t bunjang-api-server ./bunjang/
docker build -t mamuri-db ./database/
docker-compose up -d
\ No newline at end of file
version: '3'
services:
daangn_api:
image: daangn-api-server
restart: always
container_name: daangn-api-server-container
ports:
- '18080:8080'
joongna_api:
image: joongna-api-server
restart: always
container_name: joongna-api-server-container
ports:
- '18081:8080'
bunjang_api:
image: bunjang-api-server
restart: always
container_name: bunjang-api-server-container
ports:
- '18082:8080'
db:
image: mamuri-db
restart: always
container_name: mamuri-db-container
ports:
- '13060:3306'
env_file:
- "./database/mysql_init/.env"
\ No newline at end of file
#!/usr/bin/env bash
docker-compose down
docker image rm daangn-api-server
docker image rm joongna-api-server
docker image rm bunjang-api-server
docker image rm mamuri-db