Skip to content

Commit

Permalink
feat: added stable docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderlandpark committed May 27, 2021
1 parent 794a495 commit b94607c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ yarn-error.log*
.env.development.local
.env.test.local
.env.production.local
.env.*.production.local
.env.mysql.local

# vercel
Expand Down
23 changes: 23 additions & 0 deletions docker-compose-stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: '3'

services:
mysql:
image: wonderlandpark/mariadb-mroonga:latest
hostname: mysql
container_name: mysql-stable
env_file:
- .env
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
volumes:
- /home/ubuntu/mysql:/var/lib/mysql
web:
container_name: web-stable
ports:
- 5000:3000
links:
- mysql
env_file:
- .env.production.local
image: wonderlandpark/koreanbots:stable
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ services:
links:
- mysql
env_file:
- .env.production.local
image: wonderlandpark/koreanbots:latest
- .env.beta.production.local
image: wonderlandpark/koreanbots:nightly
deploy:
resources:
limits:
Expand Down

0 comments on commit b94607c

Please sign in to comment.