kios-webapp/docker-compose.yml
2024-04-01 16:25:55 +02:00

34 lines
677 B
YAML

---
version: "3"
services:
api:
image: git.autonomic.zone/autonomic-cooperative/kios-webapp:latest
build:
context: .
ports:
- 3001:3001
entrypoint: sh
command: "-c 'pnpm install && pnpm dev:api'"
volumes:
- "$PWD/apps/api:/app/apps/api"
env_file: .env
web:
image: git.autonomic.zone/autonomic-cooperative/kios-webapp:latest
ports:
- 3000:3000
entrypoint: sh
command: "-c 'pnpm install && pnpm dev:web -- --host 0.0.0.0'"
volumes:
- "$PWD/apps/web:/app/apps/web"
env_file: .env
db:
image: mongo:latest
ports:
- 27017:27017
volumes:
- mongo:/data
volumes:
mongo: