agecem-org/compose.yaml
Victor Lacasse-Beaudoin 7d4a747774 refactor: déplacer fichiers go source vers pkg/ et cmd/
Déplacer public/ et templates/ vers ui/ et ui/public/

Bump projet à v3, API toujours v1
2024-09-27 20:25:12 -04:00

29 lines
913 B
YAML

services:
minio:
image: 'quay.io/minio/minio:latest'
restart: 'unless-stopped'
environment:
MINIO_ROOT_USER: "${MINIO_ROOT_USER:-agecemorg}"
MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD:?MINIO_ROOT_PASSWORD requis dans .env}"
volumes:
- 'minio-data:/data'
command: 'server /data --console-address ":9001"'
server:
depends_on:
- 'minio'
restart: 'unless-stopped'
build: .
image: 'git.agecem.com/agecem/agecem-org:latest'
env_file: '.env'
environment:
AGECEM_ORG_SERVER_DOCUMENTS_ACCESS_KEY_ID: "${MINIO_ROOT_USER:-agecemorg}"
AGECEM_ORG_SERVER_DOCUMENTS_SECRET_ACCESS_KEY: "${MINIO_ROOT_PASSWORD:?MINIO_ROOT_PASSWORD requis dans .env}"
ports:
- '8080:8080'
volumes:
- 'server-config:/config'
command: ['agecem-org', 'server', '--config', '/config/.agecem-org.yaml']
volumes:
minio-data:
server-config: