x-common-volumes: &common-volumes - ./:/NarratoAI services: webui: build: context: . dockerfile: Dockerfile container_name: "webui" ports: - "8501:8501" command: [ "bash", "webui.sh" ] volumes: *common-volumes environment: - "VPN_PROXY_URL=http://host.docker.internal:7890" restart: always api: build: context: . dockerfile: Dockerfile container_name: "api" ports: - "8502:22" command: [ "sleep", "48h" ] volumes: *common-volumes environment: - "VPN_PROXY_URL=http://host.docker.internal:7890" restart: always