Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platform and update mysql image #43

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config.serve_static_assets = true
config.after_initialize do
Bullet.enable = true
Expand Down
4 changes: 3 additions & 1 deletion docker-compose.with_mysql.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
version: '3'
services:
db:
image: mysql:5.7.19
platform: linux/x86_64
image: mysql:5.7.39
container_name: bm-mysql
volumes:
- ./docker/mysql/volumes:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=password
command: mysqld --innodb_use_native_aio=0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app:
environment:
- BUCKY_DB_USERNAME=${BUCKY_DB_USERNAME:-root}
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: '3'
services:
app:
platform: linux/amd64
build:
context: .
dockerfile: ./Dockerfile
Expand Down