윤준석

ADD: deployment configuration

docker-compose, deploy.sh, undeploy.sh
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
......@@ -29,4 +29,4 @@ services:
ports:
- '13060:3306'
env_file:
- "./mysql_init/.env"
\ No newline at end of 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