services: phoenix: build: context: . dockerfile: Dockerfile image: local-phoenix:latest restart: unless-stopped ports: - "6006:6006" - "4317:4317" environment: PHOENIX_WORKING_DIR: /mnt/data # Optional: use external Postgres instead of local SQLite # PHOENIX_SQL_DATABASE_URL: postgresql://user:password@host:5432/dbname volumes: - ./phoenix-data:/mnt/data