Unmanage acme.json file
This commit is contained in:
parent
1e875e410d
commit
5f9e3c7a1d
|
@ -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"
|
||||||
|
|
2
init.sh
2
init.sh
|
@ -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
|
Loading…
Reference in New Issue