Files
aoc/docker-compose.yml
Tomas Kracmar 9dba33aa9f chore(release): add v1.0.0 versioning, release workflow, and versioned docker image
- Add VERSION file (1.0.0)
- Add GitHub Actions release workflow to build and push Docker images to ghcr.io
- Update docker-compose.yml to pull ghcr.io/cqrenet/aoc-backend:v1.0.0 by default
2026-04-16 11:40:28 +02:00

30 lines
695 B
YAML

services:
mongo:
image: mongo:7
container_name: aoc-mongo
restart: always
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_ROOT_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_ROOT_PASSWORD}
volumes:
- mongo_data:/data/db
backend:
# For local development you can switch back to: build: ./backend
image: ghcr.io/cqrenet/aoc-backend:v1.0.0
container_name: aoc-backend
restart: always
env_file:
- .env
environment:
MONGO_URI: mongodb://${MONGO_ROOT_USERNAME}:${MONGO_ROOT_PASSWORD}@mongo:${MONGO_PORT}/
depends_on:
- mongo
ports:
- "8000:8000"
volumes:
mongo_data: