Skip to content
Snippets Groups Projects
Verified Commit 16c4e505 authored by Olivier Benz's avatar Olivier Benz
Browse files

Merge branch 'develop'

parents 12538057 c592b551
No related branches found
No related tags found
No related merge requests found
......@@ -60,17 +60,21 @@ To install docker and docker compose, follow the instructions for your platform:
```bash
docker network create webproxy
```
1. Change file mode of `config/acme`:
```bash
chmod go+w config/acme
```
1. Make a copy of all `sample.` files:
```bash
for file in sample.*; do cp "$file" "${file#sample.}"; done;
```
3. Update environment variables `TF_ACME_EMAIL` and `TF_CERTRESOLVER_NAME1` in
1. Update environment variables `TF_ACME_EMAIL` and `TF_CERTRESOLVER_NAME1` in
'.env':
* Replace `postmaster@mydomain.com` with a valid email address of yours.
* Replace `mydomain-com` with a suitable name to identify this certificate
resolvers configuration.
→ Dots (`.`) in the name are not allowed!
5. Start the container in detached mode:
1. Start the container in detached mode:
```bash
docker compose up -d
```
......
......@@ -11,7 +11,7 @@ services:
networks:
- webproxy
volumes:
- traefik-data:/etc/traefik/acme
- ${TF_HOME:-.}/config/acme:/etc/traefik/acme
- ${TF_HOME:-.}/config/files:/etc/traefik/files:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
......@@ -57,6 +57,3 @@ services:
networks:
webproxy:
external: true
volumes:
traefik-data:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment