services:
  ringspace:
    image: ringspace:latest
    container_name: ringspace
    env_file:
      - .env
    build:
      dockerfile: ./Containerfile
      context: ./
    volumes:
      - ringspace_data:/data
    ports:
      - "${RINGSPACE_LISTEN_ADDRESS:-0.0.0.0}:${RINGSPACE_HTTP_PORT:-8000}:${RINGSPACE_ROCKET_PORT}"


volumes:
  ringspace_data:
