* Fixed cache misimplementation and reinstalled canvas package with correct node version (17) works on prod docker compose but not on dev so :) * Fixed type definition of SongCursorInfos fixed 'race conditions' in asset generation service removed hard coded cursor infos fixed tsc looking to build folders * Front: Basic Load of piano sounds * Front: Use store for piano notes * WIP * Front: Native Sound playing * Front: fix type * Front: Play all notes under cursor * Docker: Force running backend on amd64 * Front: Rebase, and add native metronome sound * Front: Metronome: Use icons from iconsax * Poof, it typechecks * Front: add missing ref * Now callback is called with the first note * Front: Fix Native build w/ requires * Front: Try bumping rn version * Front: CI: Attempt to make things work * Front: Pretty * Front: Make sounds sound better --------- Co-authored-by: Clément Le Bihan <clement.lebihan773@gmail.com>
87 lines
1.7 KiB
YAML
87 lines
1.7 KiB
YAML
networks:
|
|
loki:
|
|
|
|
volumes:
|
|
scoro_logs:
|
|
|
|
|
|
services:
|
|
back:
|
|
#platform: linux/amd64
|
|
build:
|
|
context: ./back
|
|
dockerfile: Dockerfile.dev
|
|
privileged: true
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./back:/app
|
|
- ./assets:/assets
|
|
- ./data:/data
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
env_file:
|
|
- .env
|
|
|
|
scorometer:
|
|
build:
|
|
context: ./scorometer
|
|
dockerfile: Dockerfile.dev
|
|
ports:
|
|
- "6543:6543"
|
|
volumes:
|
|
- ./scorometer:/app
|
|
- ./assets:/assets
|
|
- scoro_logs:/logs
|
|
networks:
|
|
- loki
|
|
|
|
db:
|
|
container_name: db
|
|
image: postgres:alpine3.14
|
|
environment:
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
front:
|
|
build:
|
|
context: ./front
|
|
dockerfile: Dockerfile.dev
|
|
environment:
|
|
- SCOROMETER_URL=http://scorometer:6543/
|
|
- NGINX_PORT=4567
|
|
ports:
|
|
- "19006:19006"
|
|
volumes:
|
|
- ./front:/app
|
|
depends_on:
|
|
- "back"
|
|
env_file:
|
|
- .env
|
|
|
|
nginx:
|
|
image: nginx
|
|
environment:
|
|
- API_URL=${API_URL:-http://back:3000}
|
|
- SCOROMETER_URL=${SCOROMETER_URL:-http://scorometer:6543}
|
|
- FRONT_URL=${FRONT_URL:-http://front:19006}
|
|
- PORT=4567
|
|
depends_on:
|
|
- back
|
|
- front
|
|
- scorometer
|
|
volumes:
|
|
- "./front/assets:/assets:ro"
|
|
- "./front/nginx.conf.template.dev:/etc/nginx/templates/default.conf.template:ro"
|
|
ports:
|
|
- "4567:4567"
|