-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
62 lines (57 loc) · 1.54 KB
/
compose.yaml
File metadata and controls
62 lines (57 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
# MinIO Object Storage
minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z-cpuv1
container_name: minio
ports:
- "9000:9000" # MinIO API
- "9001:9001" # MinIO Console
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin123
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
networks:
- netcdf-network
# Flask Web Application
flask-app:
build: .
container_name: netcdf-explorer
ports:
- "5000:5000"
environment:
# Flask Configuration
- FLASK_APP=src/netex/app:create_app
- NETEX_CONFIG=conf/netex.toml
- FLASK_DEBUG=true
- FLASK_SECRET_KEY=docker_dev_secret_key
# Object Storage Configuration
- OBJECT_STORAGE_ENDPOINT=minio:9000
- OBJECT_STORAGE_ACCESS_KEY=minioadmin
- OBJECT_STORAGE_SECRET_KEY=minioadmin123
- OBJECT_STORAGE_SECURE=false
# Logger Configuration
- LOGGER_LEVEL=DEBUG
depends_on:
minio:
condition: service_healthy
# TODO: Remove prior to release
# Bind mounts for local development (change source without rebuilding)
# volumes:
# - ./src:/app/src
# - ./templates:/app/templates
networks:
- netcdf-network
restart: unless-stopped
volumes:
minio_data:
driver: local
networks:
netcdf-network:
driver: bridge