Skip to content

Commit

Permalink
chore: add mysql8 to docker compose for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Oct 2, 2024
1 parent 413c39b commit 0f210e0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ volumes:

services:
api-db:
image: ${IMAGE_REPO:-lagoon}/api-db:${IMAGE_REPO_API_DB_TAG:-${IMAGE_REPO_TAG:-latest}}
image: uselagoon/mysql-8.0:latest
ports:
- '3366:3306'
command: mysqld --sql_mode=""
environment:
- MYSQL_USER=api
- MYSQL_PASSWORD=api
- MYSQL_DATABASE=infrastructure
webhook-handler:
image: ${IMAGE_REPO:-lagoon}/webhook-handler:${IMAGE_REPO_WEBHOOK_HANDLER_TAG:-${IMAGE_REPO_TAG:-latest}}
ports:
Expand Down Expand Up @@ -156,13 +161,19 @@ services:
environment:
- KEYCLOAK_FRONTEND_URL=http://localhost:8088/auth/
- [email protected]
- DB_VENDOR=mysql
- LAGOON_DB_VENDOR=mysql
# Uncomment for local new relic tracking
# - NEW_RELIC_LICENSE_KEY=
# - NEW_RELIC_APP_NAME=keycloak-local
keycloak-db:
image: ${IMAGE_REPO:-lagoon}/keycloak-db:${IMAGE_REPO_KEYCLOAK_DB_TAG:-${IMAGE_REPO_TAG:-latest}}
image: uselagoon/mysql-8.0:latest
ports:
- '3336:3306'
environment:
- MYSQL_USER=keycloak
- MYSQL_PASSWORD=keycloak
- MYSQL_DATABASE=keycloak
tests-kubernetes:
image: ${IMAGE_REPO:-lagoon}/tests:${IMAGE_REPO_TESTS_TAG:-${IMAGE_REPO_TAG:-latest}}
environment:
Expand Down

0 comments on commit 0f210e0

Please sign in to comment.