1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00

update tests to mysql8 (#1262)

This commit is contained in:
Matt Griswold
2022-11-04 01:04:47 -05:00
committed by GitHub
parent 0158a35308
commit af37642762
2 changed files with 2 additions and 14 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
*.env
*.log
*.py[cod]
*.sql
*.sqlite
*.sw*
*.tar

View File

@ -1,20 +1,13 @@
version: "3.4"
services:
database:
image: "mysql:5.7"
image: "mysql:8"
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci
environment:
MYSQL_DATABASE: peeringdb
MYSQL_USER: peeringdb
MYSQL_PASSWORD: devPASSWORD
MYSQL_ALLOW_EMPTY_PASSWORD: 1
#MYSQL_ROOT_PASSWORD: devPASSWORD
# # set logging options to output in json
# logging:
# driver: json-file
# options:
# max-size: 100m
# max-file: "3"
restart: always
ports:
- "13306:3306"
@ -33,12 +26,6 @@ services:
DATABASE_USER: peeringdb
DATABASE_PASSWORD: devPASSWORD
DATABASE_HOST: database
# # set logging options to output in json
# logging:
# driver: json-file
# options:
# max-size: 100m
# max-file: "3"
ports:
# this needs to be set in the shell, compose env vars aren't read yet
- "${DJANGO_PORT:-8000}:8000"