Skip to content

Commit

Permalink
fine-tune docker setup and update MariaDB to 10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Boldewyn committed Dec 30, 2023
1 parent 59d3f17 commit 363ff68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test-js:
.PHONY: test-js

test-codeception:
@docker compose run codeception run
@docker compose run --rm codeception run
.PHONY: test-codeception

vendor: $(DOCROOT)vendor/autoload.php
Expand Down
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:

web:
container_name: codepoints-web
build:
context: .
dockerfile: dev/Dockerfile
Expand All @@ -17,7 +18,8 @@ services:
- vite

db:
image: mariadb:10.3
container_name: codepoints-db
image: mariadb:10.6
volumes:
- ./dev/db_data:/var/lib/mysql
environment:
Expand All @@ -27,15 +29,18 @@ services:
- MARIADB_PASSWORD=codepts

vite:
container_name: codepoints-vite
build:
context: .
dockerfile: dev/vite.Dockerfile
init: true
ports:
- 5173:5173
volumes:
- .:/app

codeception:
container_name: codepoints-codeception
image: codeception/codeception
volumes:
- .:/project
Expand Down

0 comments on commit 363ff68

Please sign in to comment.