chore: add docker-compose, migrations on start, readme

This commit is contained in:
devilreef 2026-04-29 12:14:18 +06:00
parent 19fa4f1fcb
commit ec5269a579
Signed by: devilreef
SSH key fingerprint: SHA256:UZisRr4iuXx+IhkbZnR655L2RWAT6o2rgbGv5F/6m3Y
3 changed files with 55 additions and 1 deletions

22
docker-compose.yml Normal file
View file

@ -0,0 +1,22 @@
services:
postgres:
image: postgres:17-alpine
environment:
POSTGRES_USER: arcanesync
POSTGRES_PASSWORD: arcanesync
POSTGRES_DB: arcanesync
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
app:
build: .
depends_on: [postgres]
environment:
DATABASE_URL: postgres://arcanesync:arcanesync@postgres:5432/arcanesync
BOT_TOKEN: ${BOT_TOKEN}
NODE_ENV: production
ports:
- "3000:3000"
volumes:
pgdata: {}