Add playground backend and proxy

This commit is contained in:
yaoyao-open-source committed 2026-09-10 17:45:46 -07:00
1 parent bac31b44c1
commit 70be3c37e5
43 files changed
+3140 -4

No files matched your search

@@ -0,0 +1,44 @@
# 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:
nginx-proxy:
build:
context: .
dockerfile: Dockerfile
container_name: artemis-nginx-proxy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
# Mount certificates from host (or let entrypoint generate dev certs)
- ./certs:/etc/nginx/certs:ro
networks:
- artemis-net
extra_hosts:
# Allows reaching Cuttlefish / Cloud Orchestrator running on the COS host
- "host.docker.internal:host-gateway"
healthcheck:
test: ["CMD", "curl", "-k", "-f", "https://localhost/healthz"]
interval: 15s
timeout: 3s
retries: 3
networks:
artemis-net:
name: artemis-net
driver: bridge