2023-02-17 17:28:47 -05:00
|
|
|
services:
|
2023-04-21 16:41:50 -04:00
|
|
|
minio:
|
|
|
|
image: 'quay.io/minio/minio:latest'
|
|
|
|
environment:
|
|
|
|
- "MINIO_ROOT_USER=${MINIO_ROOT_USER}"
|
|
|
|
- "MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}"
|
|
|
|
volumes:
|
|
|
|
- 'minio-data:/data'
|
|
|
|
|
|
|
|
# test
|
|
|
|
ports:
|
|
|
|
- "9000:9000"
|
|
|
|
- "9001:9001"
|
|
|
|
|
|
|
|
command: 'server /data --console-address ":9001"'
|
2023-02-17 17:28:47 -05:00
|
|
|
server:
|
2023-04-21 16:41:50 -04:00
|
|
|
depends_on:
|
|
|
|
- 'minio'
|
|
|
|
restart: unless-stopped
|
2023-02-17 17:28:47 -05:00
|
|
|
build: .
|
|
|
|
image: agecem/agecem-org:latest
|
|
|
|
ports:
|
2023-04-21 16:41:50 -04:00
|
|
|
- '8080:8080'
|
|
|
|
volumes:
|
|
|
|
- 'server-config:/config'
|
|
|
|
command: ['agecem-org', 'server', '--config', '/config/.agecem-org.yaml']
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
minio-data:
|
|
|
|
server-config:
|