|
| 1 | +version: "3.5" |
| 2 | +services: |
| 3 | + elasticsearch: |
| 4 | + container_name: temporal-elasticsearch |
| 5 | + environment: |
| 6 | + - cluster.routing.allocation.disk.threshold_enabled=true |
| 7 | + - cluster.routing.allocation.disk.watermark.low=512mb |
| 8 | + - cluster.routing.allocation.disk.watermark.high=256mb |
| 9 | + - cluster.routing.allocation.disk.watermark.flood_stage=128mb |
| 10 | + - discovery.type=single-node |
| 11 | + - ES_JAVA_OPTS=-Xms100m -Xmx100m |
| 12 | + image: elasticsearch:7.10.1 |
| 13 | + networks: |
| 14 | + - temporal-network |
| 15 | + ports: |
| 16 | + - 9200:9200 |
| 17 | + postgresql: |
| 18 | + container_name: temporal-postgresql |
| 19 | + environment: |
| 20 | + POSTGRES_PASSWORD: temporal |
| 21 | + POSTGRES_USER: temporal |
| 22 | + image: postgres:9.6 |
| 23 | + networks: |
| 24 | + - temporal-network |
| 25 | + ports: |
| 26 | + - 5432:5432 |
| 27 | + temporal: |
| 28 | + container_name: temporal |
| 29 | + depends_on: |
| 30 | + - postgresql |
| 31 | + - elasticsearch |
| 32 | + environment: |
| 33 | + - DB=postgresql |
| 34 | + - DB_PORT=5432 |
| 35 | + - POSTGRES_USER=temporal |
| 36 | + - POSTGRES_PWD=temporal |
| 37 | + - POSTGRES_SEEDS=postgresql |
| 38 | + - DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_es.yaml |
| 39 | + - ENABLE_ES=true |
| 40 | + - ES_SEEDS=elasticsearch |
| 41 | + - ES_VERSION=v7 |
| 42 | + image: temporalio/auto-setup:1.12.3 |
| 43 | + networks: |
| 44 | + - temporal-network |
| 45 | + ports: |
| 46 | + - 7233:7233 |
| 47 | + volumes: |
| 48 | + - ./dynamicconfig:/etc/temporal/config/dynamicconfig |
| 49 | + temporal-admin-tools: |
| 50 | + container_name: temporal-admin-tools |
| 51 | + depends_on: |
| 52 | + - temporal |
| 53 | + environment: |
| 54 | + - TEMPORAL_CLI_ADDRESS=temporal:7233 |
| 55 | + image: temporalio/admin-tools:1.12.3 |
| 56 | + networks: |
| 57 | + - temporal-network |
| 58 | + stdin_open: true |
| 59 | + tty: true |
| 60 | + temporal-web: |
| 61 | + container_name: temporal-web |
| 62 | + depends_on: |
| 63 | + - temporal |
| 64 | + environment: |
| 65 | + - TEMPORAL_GRPC_ENDPOINT=temporal:7233 |
| 66 | + - TEMPORAL_PERMIT_WRITE_API=true |
| 67 | + image: temporalio/web:1.12.0 |
| 68 | + networks: |
| 69 | + - temporal-network |
| 70 | + ports: |
| 71 | + - 8088:8088 |
| 72 | + temporal-ui: |
| 73 | + container_name: temporal-ui |
| 74 | + depends_on: |
| 75 | + - temporal |
| 76 | + environment: |
| 77 | + - TEMPORAL_ADDRESS=temporal:7233 |
| 78 | + image: temporalio/ui:latest |
| 79 | + networks: |
| 80 | + - temporal-network |
| 81 | + ports: |
| 82 | + - 8080:8080 |
| 83 | +networks: |
| 84 | + temporal-network: |
| 85 | + driver: bridge |
| 86 | + name: temporal-network |
0 commit comments