Browse Source

Add SSL certs to container for SMTP STARTTLS

pull/5/head
Alex 2 years ago
parent
commit
9bfd7f8d51
  1. 5
      Dockerfile
  2. 2
      guichet.hcl.example

5
Dockerfile

@ -1,5 +1,10 @@
FROM alpine:latest as certs
RUN apk --update add ca-certificates
FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ADD static /static
ADD guichet.static /guichet
ADD templates /templates

2
guichet.hcl.example

@ -12,7 +12,7 @@ job "guichet" {
task "server" {
driver = "docker"
config {
image = "lxpz/guichet_amd64:6"
image = "lxpz/guichet_amd64:7"
readonly_rootfs = true
port_map {
web_port = 9991

Loading…
Cancel
Save