...
1#
2# Copyright 2021 The Sigstore Authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16version: '3.4'
17services:
18 rekor-server-debug:
19 build:
20 context: .
21 target: "debug"
22 command: [
23 "dlv",
24 "exec",
25 "--listen=:2345",
26 "--headless=true",
27 "--log=true",
28 "--api-version=2",
29 "--",
30 "/usr/local/bin/rekor-server",
31 "serve",
32 "--trillian_log_server.address=trillian-log-server",
33 "--trillian_log_server.port=8090",
34 "--redis_server.address=redis-server",
35 "--redis_server.port=6379",
36 "--rekor_server.address=0.0.0.0",
37 "--rekor_server.signer=memory",
38 ]
39 restart: always # keep the server running
40 ports:
41 - "3000:3000"
42 - "2345:2345"
43 depends_on:
44 - mysql
45 - redis-server
46 - trillian-log-server
47 - trillian-log-signer
View as plain text