Fully standalone Temporal docker image.
  • Shell 53%
  • Dockerfile 47%
Find a file
2026-03-31 11:16:15 +02:00
.forgejo/workflows Fixing workflow 2026-03-31 11:16:15 +02:00
.gitignore Fixing workflow 2026-03-31 11:16:15 +02:00
create-namespaces.sh Initial 2026-03-30 21:19:53 +02:00
docker-compose.example.yml Initial 2026-03-30 21:19:53 +02:00
Dockerfile Fixing workflow 2026-03-31 11:16:15 +02:00
entrypoint.sh Initial 2026-03-30 21:19:53 +02:00
README.md Fixing workflow 2026-03-31 11:16:15 +02:00

Temporal

Fully standalone Temporal docker image.

Usage

You'd (probably) replace most values with environment variables here.

services:
  postgres:
    image: "postgres:16-alpine"
    container_name: postgres
    environment:
      - POSTGRES_PORT=5432
      - POSTGRES_USER=temporal
      - POSTGRES_PASSWORD=temporal
    networks:
      - temporal-network
    volumes:
      - temporal-db:/var/lib/postgresql/data
    healthcheck:
      test: [ "CMD-SHELL", "pg_isready -U temporal" ]
      interval: 5s
      timeout: 5s
      retries: 60
      start_period: 30s

  temporal:
    image: byrone2/temporal:latest
    container_name: temporal
    depends_on:
      postgres:
        condition: service_healthy
    links:
      - postgres
    ports:
      - "7233:7233"
    environment:
      - DB=postgres12
      - DB_PORT=5432
      - POSTGRES_USER=temporal
      - POSTGRES_PWD=temporal
      - POSTGRES_SEEDS=postgres

      # Use comma-separated values to create multiple namespaces. 
      - NAMESPACES=default,mynamespace

      - BIND_ON_IP=0.0.0.0
      - TEMPORAL_BROADCAST_ADDRESS=0.0.0.0
    networks:
      - temporal-network
    healthcheck:
      test: [ "CMD", "nc", "-z", "localhost", "7233" ]
      interval: 5s
      timeout: 3s
      start_period: 30s
      retries: 60

  temporal-ui:
    image: temporalio/ui:2.44.1
    container_name: temporal-ui
    depends_on:
      temporal:
        condition: service_healthy
    ports:
      - "8080:8080"
    environment:
      - TEMPORAL_ADDRESS=temporal:7233
      - TEMPORAL_CORS_ORIGINS=http://localhost:3000
      - TEMPORAL_DEFAULT_NAMESPACE=default
    networks:
      - temporal-network

networks:
  temporal-network:
    name: temporal-network

volumes:
  temporal-db: