mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
31 lines
712 B
YAML
31 lines
712 B
YAML
# For running with anonymous data, for e2e tests in local or github actions
|
|
services:
|
|
frontend:
|
|
container_name: nowdb-frontend-anon
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- 127.0.0.1:5173:5173
|
|
env_file: .anon.env
|
|
backend:
|
|
container_name: nowdb-backend-anon
|
|
env_file: .anon.env
|
|
ports:
|
|
- 127.0.0.1:4000:4000
|
|
build:
|
|
context: .
|
|
dockerfile: ./backend/Dockerfile
|
|
db-anon:
|
|
container_name: nowdb-db-anon
|
|
image: mariadb:11.4.3
|
|
env_file: .anon.env
|
|
volumes:
|
|
- ./test_data/:/docker-entrypoint-initdb.d
|
|
- nowdb-db-anon:/var/lib/mysql/data
|
|
ports:
|
|
- 127.0.0.1:3306:3306
|
|
volumes:
|
|
nowdb-db-anon:
|
|
|