File: docker-compose.yml

package info (click to toggle)
golang-github-smallstep-certificates 0.20.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,144 kB
  • sloc: sh: 278; makefile: 170
file content (42 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (2)
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
version: '3.3'

services:
  ca:
    image: step-ca-test:latest
    ports:
      - "8443:443"
    restart: always

  renewer:
    depends_on:
      - ca
    image: step-renewer-test:latest
    volumes:
      - certificates:/var/local/step
    secrets:
      - password
    environment:
      STEPPATH: /home/step
      STEP_CA_URL: https://ca
      STEP_FINGERPRINT: 84a033e84196f73bd593fad7a63e509e57fd982f02084359c4e8c5c864efc27d
      STEP_ROOT: /var/local/step/root_ca.crt
      STEP_KID: DmAtZt2EhmZr_iTJJ387fr4Md2NbzMXGdXQNW1UWPXk
      STEP_PASSWORD_FILE: /run/secrets/password
      COMMON_NAME: nginx

  nginx:
    depends_on:
      - renewer
    image: nginx-test:latest
    ports:
      - "4443:443"
    volumes:
      - certificates:/var/local/step:ro
    restart: always

volumes:
  certificates:

secrets:
  password:
    file: ./password.txt