--- version: '3.4' services: renew: image: ${LETSENCRYPT_IMAGE} volumes: - ${LETSENCRYPT_MOUNT}:/etc/letsencrypt:ro ports: - 80:80 command: - certonly - -n - --standalone - --test-cert - --dryrun networks: - prod_ui certificates: image: ${LETSENCRYPT_IMAGE} volumes: - ${LETSENCRYPT_MOUNT}:/etc/letsencrypt ports: - 80:80 command: - certificates # - --standalone # - --test-cert # - --dryrun test: image: ${LETSENCRYPT_IMAGE} volumes: - ${LETSENCRYPT_MOUNT}:/etc/letsencrypt ports: - 80:80 networks: prod_ui: external: name: prod_ui