Files
Shortumation/webapp/docker-compose.yaml
T

34 lines
810 B
YAML

version: '3'
services:
homeassistant:
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- ./development_config/config:/config
restart: unless-stopped
networks:
- main
ports:
- 8123:8123
addon:
image: "asosnovsky/shortumation-${ARCH:-amd64}:${BUILD_TAG:-edge}"
build:
context: "../"
dockerfile: "../Dockerfile"
args:
BUILD_ARCH: ${ARCH:-amd64}
BUILD_VERSION: ${BUILD_TAG:-edge}
volumes:
- "./development_config/config:/config"
- "../api:/app"
- "../docker/bin:/app/bin"
- "./build:/app/web"
networks:
- main
ports:
- "8000:8000"
env_file:
- ./development_config/.env
entrypoint: hypercorn src.app:app --reload -b 0.0.0.0:8000
networks:
main: