Files
Anthias/docker-compose.dev.yml
Viktor Petersson f259b74986 fix: clean up Docker builds and remove React/webpack leftovers
- Remove static/sass/ (React SCSS) and webpack.prod.js (no longer needed)
- Fix channels WebSocketConsumer → WebsocketConsumer (channels 4.x API)
- Add build args to docker-compose.dev.yml for GIT_*/DEVICE_TYPE

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 06:23:18 +00:00

44 lines
959 B
YAML

# vim: ft=yaml.docker-compose
services:
anthias-server:
build:
context: .
dockerfile: docker/Dockerfile.server
args:
GIT_HASH: ${GIT_HASH:-dev}
GIT_SHORT_HASH: ${GIT_SHORT_HASH:-dev}
GIT_BRANCH: ${GIT_BRANCH:-dev}
DEVICE_TYPE: ${DEVICE_TYPE:-x86}
ports:
- 8000:8000
environment:
- HOME=/data
- LISTEN=0.0.0.0
- ENVIRONMENT=development
restart: always
volumes:
- anthias-data:/data
- ./:/usr/src/app/
anthias-viewer:
build:
context: .
dockerfile: docker/Dockerfile.viewer
args:
GIT_HASH: ${GIT_HASH:-dev}
GIT_SHORT_HASH: ${GIT_SHORT_HASH:-dev}
GIT_BRANCH: ${GIT_BRANCH:-dev}
DEVICE_TYPE: ${DEVICE_TYPE:-x86}
depends_on:
- anthias-server
environment:
- HOME=/data
- LISTEN=0.0.0.0
restart: always
volumes:
- anthias-data:/data
volumes:
anthias-data: