* 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>
59 lines
1.1 KiB
YAML
59 lines
1.1 KiB
YAML
networks:
|
|
loki:
|
|
|
|
|
|
volumes:
|
|
db:
|
|
scoro_logs:
|
|
|
|
|
|
services:
|
|
back:
|
|
#platform: linux/amd64
|
|
build: ./back
|
|
ports:
|
|
- "3000:3000"
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./assets:/assets
|
|
- ./data:/data
|
|
scorometer:
|
|
build: ./scorometer
|
|
ports:
|
|
- "6543:6543"
|
|
volumes:
|
|
- ./assets:/assets
|
|
- scoro_logs:/logs
|
|
db:
|
|
container_name: db
|
|
image: postgres:alpine3.14
|
|
environment:
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- db:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
front:
|
|
build: ./front
|
|
environment:
|
|
- API_URL=http://back:3000/
|
|
- SCOROMETER_URL=http://scorometer:6543/
|
|
- NGINX_PORT=80
|
|
ports:
|
|
- "80:80"
|
|
depends_on:
|
|
- "back"
|
|
env_file:
|
|
- .env |