Unmanage acme.json file

This commit is contained in:
Jean Froment 2020-09-11 12:24:02 +02:00
parent 1e875e410d
commit 5f9e3c7a1d
2 changed files with 0 additions and 3 deletions

View File

@ -12,7 +12,6 @@ services:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./traefik.yml:/etc/traefik/traefik.yaml:ro - ./traefik.yml:/etc/traefik/traefik.yaml:ro
- /opt/traefik/acme.json:/acme.json
- ./http_auth:/http_auth - ./http_auth:/http_auth
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"

View File

@ -1,8 +1,6 @@
#!/bin/bash #!/bin/bash
echo "[$0] Initializing..." echo "[$0] Initializing..."
sudo mkdir /opt/traefik
sudo touch /opt/traefik/acme.json && sudo chmod 600 /opt/traefik/acme.json
cp .env.sample .env cp .env.sample .env
echo "[$0] Please edit .env file" echo "[$0] Please edit .env file"
exit 0 exit 0