RelayServer / docker-compose.yml
Reality123b's picture
Update docker-compose.yml
3b29350 verified
raw
history blame contribute delete
663 Bytes
version: '3.8'
services:
database-api:
build:
context: .
target: nodeapi
ports:
- "3000:3000"
environment:
- JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
- ADMIN_PASSWORD=DataMaster2024!
- NODE_ENV=production
volumes:
- ./data:/usr/src/app/data
- ./datasets:/usr/src/app/datasets
restart: unless-stopped
flask-api:
build:
context: .
target: flaskapi
command: python flask_api.py
environment:
- DATASETS_DIR=/usr/src/app/datasets
volumes:
- ./datasets:/usr/src/app/datasets
ports:
- "5000:5000"
restart: unless-stopped