Set MySQL version to 8.0.16 for DEV and CI, see #106

This commit is contained in:
Michael Mayer 2019-04-26 04:12:55 +02:00
parent 2f15ca2c59
commit ae54bf55f8
2 changed files with 6 additions and 4 deletions

View file

@ -23,10 +23,10 @@ services:
- CI_JOB_ID
database:
image: mysql:latest
image: mysql:8.0.16
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024
environment:
MYSQL_ROOT_PASSWORD: photoprism
MYSQL_USER: photoprism
MYSQL_PASSWORD: photoprism
MYSQL_DATABASE: photoprism
MYSQL_DATABASE: photoprism

View file

@ -21,10 +21,12 @@ services:
PHOTOPRISM_ORIGINALS_PATH: "/go/src/github.com/photoprism/photoprism/assets/photos/originals"
database:
image: mysql:8.0.12
image: mysql:8.0.16
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024
ports:
- 4001:3306 # MySQL (for tests)
environment:
MYSQL_ROOT_PASSWORD: photoprism
MYSQL_USER: photoprism
MYSQL_PASSWORD: photoprism
MYSQL_DATABASE: photoprism
MYSQL_DATABASE: photoprism