feat: Initialize database and restructure application source code.

This commit is contained in:
syntaxbullet
2025-12-05 18:52:20 +01:00
parent 1fb59a26cc
commit fdfb2508ae
24 changed files with 55 additions and 255 deletions

View File

@@ -9,20 +9,19 @@ services:
ports:
- "${DB_PORT}:5432"
volumes:
- ${DB_DATA_DIR}:/var/lib/postgresql/data
- ${DB_LOG_DIR}:/var/log/postgresql
- ./src/db/data:/var/lib/postgresql/data
- ./src/db/log:/var/log/postgresql
app:
container_name: kyoko_app
image: kyoko-app
build:
context: ./app
context: .
dockerfile: Dockerfile
working_dir: /app
ports:
- "3000:3000"
volumes:
- ./app:/app
- .:/app
- /app/node_modules
environment:
- DB_USER=${DB_USER}
@@ -42,13 +41,13 @@ services:
container_name: kyoko_studio
image: kyoko-app
build:
context: ./app
context: .
dockerfile: Dockerfile
working_dir: /app
ports:
- "4983:4983"
volumes:
- ./app:/app
- .:/app
environment:
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}