Compose-Library/astroluma.compose.yaml.txt
2025-01-25 18:01:48 +01:00

21 lines
520 B
Text

services:
app:
image: sanjeet990/astroluma:latest
container_name: astroluma-${IP}-${PORT}
ports:
- ${IP}:${PORT}:8000
environment:
PORT: 8000
NODE_ENV: production
SECRET_KEY: a2c5f9a8b2d7e1a7f2c9c8d9b5f7a3d5
MONGODB_URI: mongodb://mongodb:27017/astroluma
volumes:
- ${DATA_DIR}/uploads:/app/storage/uploads
depends_on:
- mongodb
restart: always
mongodb:
image: mongo:6.0
volumes:
- ${DATA_DIR}/database:/data/db
restart: always