GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — climate-ref/docker-compose.yaml at main · Climate-REF/climate-ref

Expand file tree

/

docker-compose.yaml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
75 lines (71 loc) · 2.1 KB
/

docker-compose.yaml

Copy path

File metadata and controls

75 lines (71 loc) · 2.1 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
63
64
65
66
67
68
69
70
71
72
73
74
75
# Services to run the Rapid Evaluation Framework (REF) diagnostic workers
# These can be started by running `docker-compose up` in the root directory of the codebase.
name: climate-ref
services:
redis:
image: redis:8
restart: always
ports:
- "6379:6379"
postgres:
image: postgres:17
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: example
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- "5432:5432"
flower:
image: mher/flower:2.2.0
restart: always
environment:
- CELERY_BROKER_URL=redis://redis:6379/1
- CELERY_RESULT_BACKEND=redis://redis:6379/1
- CELERY_ACCEPT_CONTENT=["json","pickle"]
ports:
- "5555:5555"
depends_on:
- redis
# Base worker to track the executions of async tasks
climate-ref:
image: ghcr.io/climate-ref/climate-ref:latest
restart: always
depends_on:
- postgres
- redis
environment:
- CELERY_BROKER_URL=redis://redis:6379/1
- CELERY_RESULT_BACKEND=redis://redis:6379/1
- REF_EXECUTOR=climate_ref_celery.executor.CeleryExecutor
- REF_DATABASE_URL=postgresql://postgres:example@postgres:5432/postgres
command: celery start-worker --loglevel INFO
volumes:
- ./tests/test-data/sample-data:/ref/data
- ref:/ref
# Diagnostic workers - one per diagnostic package based on the climate-ref service
# ESMValTool worker
climate-ref-esmvaltool:
extends:
service: climate-ref
command: celery start-worker --provider esmvaltool --loglevel INFO
# ILAMB worker
climate-ref-ilamb:
extends:
service: climate-ref
command: celery start-worker --provider ilamb --loglevel INFO
# PMP worker
climate-ref-pmp:
extends:
service: climate-ref
command: celery start-worker --provider pmp --loglevel INFO
# Example worker
climate-ref-example:
extends:
service: climate-ref
command: celery start-worker --provider example --loglevel INFO
volumes:
# This volume contains the database, scratch directories and the conda environments
ref:
postgres-data:
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.