Files
Artemis-Eapil/playground/artemis_container/docker-compose.yml

49 lines
1.5 KiB
YAML

# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version: '3.8'
services:
artemis-session:
build:
context: ../..
dockerfile: playground/artemis_container/Dockerfile
container_name: artemis-session-sample
restart: unless-stopped
ports:
- "8080:8080"
environment:
- SESSION_ID=sample-session-123
- ADB_DEVICE_SERIAL=host.docker.internal:6520
- PORT=8080
- PYTHONUNBUFFERED=1
# Model & Perception API Keys (pass from host environment)
- GEMINI_API_KEY=${GEMINI_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
networks:
- artemis-net
extra_hosts:
# Allows reaching Cuttlefish emulator running on the COS VM host network
- "host.docker.internal:host-gateway"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/api/system/health"]
interval: 15s
timeout: 3s
retries: 3
networks:
artemis-net:
name: artemis-net
driver: bridge