Files
learning-platform/infra/production/site/compose.yml
RaymondVerhoef fa5dcaeb01
All checks were successful
On Push to Main / test (push) Successful in 30s
On Push to Main / publish (push) Successful in 59s
On Push to Main / deploy-dev (push) Successful in 1m36s
feat: add docker-compose configuration and ansible playbook for production deployment
2026-05-19 07:54:52 +02:00

31 lines
764 B
YAML

version: "3"
networks:
learning-platform:
external: true
volumes:
pb_data:
services:
learning-platform:
image: git.labs.respellion.tech/respellion/learning-platform/learning-platform:latest
container_name: learning-platform
restart: unless-stopped
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
networks:
- learning-platform
pocketbase-learning:
image: ghcr.io/muchobien/pocketbase:latest
container_name: pocketbase-learning
restart: unless-stopped
working_dir: /pb
command: ["serve", "--http=0.0.0.0:8090", "--dir=/pb/pb_data", "--migrationsDir=/pb/pb_migrations"]
volumes:
- pb_data:/pb/pb_data
- ./pb_migrations:/pb/pb_migrations
networks:
- learning-platform