4
0

docker-compose.yml 856 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. version: '3.3'
  2. services:
  3. ca:
  4. image: step-ca-test:latest
  5. ports:
  6. - "8443:443"
  7. restart: always
  8. renewer:
  9. depends_on:
  10. - ca
  11. image: step-renewer-test:latest
  12. volumes:
  13. - certificates:/var/local/step
  14. secrets:
  15. - password
  16. environment:
  17. STEPPATH: /home/step
  18. STEP_CA_URL: https://ca
  19. STEP_FINGERPRINT: 84a033e84196f73bd593fad7a63e509e57fd982f02084359c4e8c5c864efc27d
  20. STEP_ROOT: /var/local/step/root_ca.crt
  21. STEP_KID: DmAtZt2EhmZr_iTJJ387fr4Md2NbzMXGdXQNW1UWPXk
  22. STEP_PASSWORD_FILE: /run/secrets/password
  23. COMMON_NAME: nginx
  24. nginx:
  25. depends_on:
  26. - renewer
  27. image: nginx-test:latest
  28. ports:
  29. - "4443:443"
  30. volumes:
  31. - certificates:/var/local/step:ro
  32. restart: always
  33. volumes:
  34. certificates:
  35. secrets:
  36. password:
  37. file: ./password.txt