fix mysql version for production deocker image
This commit is contained in:
@@ -10,6 +10,8 @@ services:
|
||||
- ./storage:/var/www/html/storage
|
||||
- ./bootstrap/cache:/var/www/html/bootstrap/cache
|
||||
- ./docker/php.ini:/usr/local/etc/php/conf.d/local.ini
|
||||
- storage_logs:/var/www/html/storage/logs
|
||||
- storage_cache:/var/www/html/storage/framework
|
||||
environment:
|
||||
- APP_ENV=production
|
||||
- APP_DEBUG=false
|
||||
@@ -22,7 +24,7 @@ services:
|
||||
- ckb-network
|
||||
|
||||
db:
|
||||
image: mysql:8.0
|
||||
image: mariadb:10.6
|
||||
platform: linux/amd64
|
||||
container_name: ckb-mysql-prod
|
||||
restart: unless-stopped
|
||||
@@ -95,6 +97,10 @@ volumes:
|
||||
driver: local
|
||||
nginx_logs:
|
||||
driver: local
|
||||
storage_logs:
|
||||
driver: local
|
||||
storage_cache:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
ckb-network:
|
||||
|
||||
Reference in New Issue
Block a user