Toggle navigation
Toggle navigation
This project
Loading...
Sign in
윤준석
/
mamuri-bot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
윤준석
2022-05-23 01:26:28 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9431704643a6631c748d50f768a0c4a5861b6231
94317046
1 parent
ba76f0bc
ADD: deployment configuration
docker-compose, deploy.sh, undeploy.sh
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
2 deletions
daangn/Dockerfile
deploy.sh
docker-compose.yml
undeploy.sh
daangn/Dockerfile
View file @
9431704
FROM
python:
3
FROM
python:
alpine
WORKDIR
/usr/src/app
...
...
deploy.sh
0 → 100755
View file @
9431704
#!/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
docker-compose.yml
View file @
9431704
...
...
@@ -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
...
...
undeploy.sh
0 → 100755
View file @
9431704
#!/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
Please
register
or
login
to post a comment