リアタイアニメチャット
- fiber - golang
- nuxt.js - javascript
- nginx
- docker
- ubuntu
- firebase
- mysql
# /docker/db/.env
MYSQL_ROOT_PASSWORD=root
MYSQL_USER=docker_user
MYSQL_PASSWORD=docker_pass
MYSQL_DATABASE=chat-db
# /docker/front/config/.env.development
API_URL="http://api:8080"
API_URL_BROWSER="http://localhost:8080"
BASE_URL=
apiKey=
authDomain=
databaseURL=
projectId=
storageBucket=
messagingSenderId=
appId=
measurementId=
/api_v1/firebase_admin_sdk.json Google Authに必要
// main
$ docker-compose -f docker-compose.development.yml up -d --build
// system memory max
$ docker system prune
// build image cache
$ docker-compose -f docker-compose.development.yml build --no-cache
// build
$ yarn build
// system up -d
$ docker-compose -f docker-compose.production.yml up -d --build