Update compose to run reflector locally

This commit is contained in:
2025-01-23 15:30:56 +01:00
parent 986f063857
commit 8d9aaeab36
3 changed files with 8 additions and 44 deletions

38
compose.yml Normal file
View File

@@ -0,0 +1,38 @@
services:
server:
build:
context: server
ports:
- 1250:1250
volumes:
- ./server/data/:/app/data/
env_file:
- ./server/.env
environment:
ENTRYPOINT: server
worker:
build:
context: server
volumes:
- ./server/data/:/app/data/
env_file:
- ./server/.env
environment:
ENTRYPOINT: worker
redis:
image: redis:7.2
ports:
- 6379:6379
web:
image: node:18
ports:
- "3000:3000"
command: sh -c "yarn install && yarn dev"
restart: unless-stopped
working_dir: /app
volumes:
- ./www:/app/
env_file:
- ./www/.env.local