services:
  lifegame:
    build: .
    container_name: lifegame
    restart: unless-stopped
    environment:
      - PORT=3000
      - NODE_ENV=production
      - DATA_DIR=/app/data
    volumes:
      - lifegame-data:/app/data
    networks:
      - proxy-net

networks:
  proxy-net:
    external: true

volumes:
  lifegame-data:
