...

Text file src/github.com/sigstore/timestamp-authority/docker-compose.yml

Documentation: github.com/sigstore/timestamp-authority

     1# Copyright 2022 The Sigstore Authors.
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15version: '3.8'
    16services:
    17  timestamp-server:
    18    build:
    19      context: .
    20      target: "deploy"
    21    command: [
    22      "timestamp-server",
    23      "serve",
    24      "--host=0.0.0.0",
    25      "--port=3000",
    26      "--timestamp-signer=memory",
    27      # Uncomment this for production logging
    28      # "--log-type=prod",
    29      ]
    30    restart: always # keep the server running
    31    ports:
    32      - "3000:3000"
    33      - "2112:2112"
    34    healthcheck:
    35      test: ["CMD", "curl", "-f", "http://localhost:3000/ping"]
    36      interval: 10s
    37      timeout: 3s
    38      retries: 3
    39      start_period: 5s
    40

View as plain text