Clean up duplicate naming. Fix translated keywords. (#373)
Dieser Commit ist enthalten in:
Ursprung
474247cbe3
Commit
0c1ebe2b1c
1 geänderte Dateien mit 5 neuen und 47 gelöschten Zeilen
|
@ -185,49 +185,6 @@ version: '2.1'
|
||||||
services:
|
services:
|
||||||
nginx-mailcow:
|
nginx-mailcow:
|
||||||
networks:
|
networks:
|
||||||
# add Traefik's network
|
|
||||||
web:
|
|
||||||
labels:
|
|
||||||
- traefik.enable=true
|
|
||||||
# Creates a router called "moo" for the container, and sets up a rule to link the container to certain rule,
|
|
||||||
# in this case, a Host rule with our MAILCOW_HOSTNAME var.
|
|
||||||
- traefik.http.routers.moo.rule=Host(`${MAILCOW_HOSTNAME}`)
|
|
||||||
# Enables tls over the router we created before.
|
|
||||||
- traefik.http.routers.moo.tls=true
|
|
||||||
# Specifies which kind of cert resolver we'll use, in this case le (Lets Encrypt).
|
|
||||||
- traefik.http.routers.moo.tls.certresolver=le
|
|
||||||
# Creates a service called "moo" for the container, and specifies which internal port of the container
|
|
||||||
# should traefik route the incoming data to.
|
|
||||||
- traefik.http.services.moo.loadbalancer.server.port=${HTTP_PORT}
|
|
||||||
# Specifies which entrypoint (external port) should traefik listen to, for this container.
|
|
||||||
# websecure being port 443, check the traefik.toml file liked above.
|
|
||||||
- traefik.http.routers.moo.entrypoints=websecure
|
|
||||||
# Make sure traefik uses the web network, not the mailcowdockerized_mailcow-network
|
|
||||||
- traefik.docker.network=web
|
|
||||||
|
|
||||||
certdumper:
|
|
||||||
image: humenius/traefik-certs-dumper
|
|
||||||
container_name: traefik_certdumper
|
|
||||||
network_mode: none
|
|
||||||
volumes:
|
|
||||||
# mount the folder which contains Traefik's `acme.json' file
|
|
||||||
# in this case Traefik is started from its own docker-compose in ../traefik
|
|
||||||
- ../traefik/data:/traefik:ro
|
|
||||||
# mount mailcow's SSL folder
|
|
||||||
- ./data/assets/ssl/:/output:rw
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
# only change this, if you're using another domain for mailcow's web frontend compared to the standard config
|
|
||||||
- DOMAIN=${MAILCOW_HOSTNAME}
|
|
||||||
|
|
||||||
networks:
|
|
||||||
web:
|
|
||||||
external: true
|
|
||||||
Version: '2.1'
|
|
||||||
|
|
||||||
Dienste:
|
|
||||||
nginx-mailcow:
|
|
||||||
Netzwerke:
|
|
||||||
# Traefiks Netzwerk hinzufĂĽgen
|
# Traefiks Netzwerk hinzufĂĽgen
|
||||||
web:
|
web:
|
||||||
labels:
|
labels:
|
||||||
|
@ -251,20 +208,21 @@ Dienste:
|
||||||
certdumper:
|
certdumper:
|
||||||
image: humenius/traefik-certs-dumper
|
image: humenius/traefik-certs-dumper
|
||||||
container_name: traefik_certdumper
|
container_name: traefik_certdumper
|
||||||
network_mode: keine
|
network_mode: none
|
||||||
volumes:
|
volumes:
|
||||||
# mounten Sie den Ordner, der Traefiks `acme.json' Datei enthält
|
# mounten Sie den Ordner, der Traefiks `acme.json' Datei enthält
|
||||||
# in diesem Fall wird Traefik von seinem eigenen docker-compose in ../traefik gestartet
|
# in diesem Fall wird Traefik von seinem eigenen docker-compose in ../traefik gestartet
|
||||||
- ../traefik/data:/traefik:ro
|
- ../traefik/data:/traefik:ro
|
||||||
# SSL-Ordner von mailcow einhängen
|
# SSL-Ordner von mailcow einhängen
|
||||||
- ./data/assets/ssl/:/output:rw
|
- ./data/assets/ssl/:/output:rw
|
||||||
Umgebung:
|
restart: always
|
||||||
|
environment:
|
||||||
# Ă„ndern Sie dies nur, wenn Sie eine andere Domain fĂĽr Mailcows Web-Frontend verwenden als in der Standard-Konfiguration
|
# Ă„ndern Sie dies nur, wenn Sie eine andere Domain fĂĽr Mailcows Web-Frontend verwenden als in der Standard-Konfiguration
|
||||||
- DOMAIN=${MAILCOW_HOSTNAME}
|
- DOMAIN=${MAILCOW_HOSTNAME}
|
||||||
|
|
||||||
Netzwerke:
|
networks:
|
||||||
web:
|
web:
|
||||||
extern: true
|
external: true
|
||||||
```
|
```
|
||||||
|
|
||||||
Starten Sie die neuen Container mit `docker-compose up -d`.
|
Starten Sie die neuen Container mit `docker-compose up -d`.
|
||||||
|
|
Laden …
In neuem Issue referenzieren