feat: added stable docker compose file

This commit is contained in:
wonderlandpark 2021-05-27 20:59:44 +09:00
parent 794a495f7e
commit b94607ccd7
3 changed files with 26 additions and 2 deletions

1
.gitignore vendored
View File

@ -33,6 +33,7 @@ yarn-error.log*
.env.development.local
.env.test.local
.env.production.local
.env.*.production.local
.env.mysql.local
# vercel

23
docker-compose-stable.yml Normal file
View File

@ -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

View File

@ -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: