Skip to main content

Astroluma Compose

Create your own Astroluma docker-compose.yml file as per your requirements

Astroluma Configuration

MongoDB Configuration

If you encounter AVX errors, please use MongoDB 4.0

Generated Docker Compose

version: '3.8'
services:
  app:
    image: sanjeet990/astroluma:latest
    container_name: astroluma
    environment:
      PORT: 8000
      NODE_ENV: production
      SECRET_KEY: deb5049fbbc5844eb30e7e77634cb9aa
      MONGODB_URI: mongodb://localhost:27017/astroluma
    volumes:
      - ./:/app/storage/uploads
    depends_on:
      - mongodb
    restart: always
    network_mode: host
  mongodb:
    image: mongo:6.0
    container_name: mongodb
    ports:
      - "27017:27017"
    volumes:
      - ./:/data/db
    restart: always
    network_mode: bridge
volumes:
  mongo_data:
    driver: local
  uploads_data:
    driver: local