SMTP Konfiguration hinzugefügt
This commit is contained in:
@@ -18,19 +18,35 @@ services:
|
|||||||
- database
|
- database
|
||||||
environment:
|
environment:
|
||||||
CONFIG_USE_ENVIRONMENT_VARIABLES: "true"
|
CONFIG_USE_ENVIRONMENT_VARIABLES: "true"
|
||||||
|
|
||||||
|
# SMTP (STARTTLS-Beispiel, z. B. für viele Provider)
|
||||||
|
MAIL_SMTP_HOST: smtp.strato.de
|
||||||
|
MAIL_SMTP_PORT: "465"
|
||||||
|
MAIL_SMTP_SSL_ENABLE: "true"
|
||||||
|
MAIL_SMTP_STARTTLS_ENABLE: "true"
|
||||||
|
|
||||||
|
# Absender und Authentifizierung
|
||||||
|
MAIL_SMTP_FROM: traccar@scheidel.biz
|
||||||
|
MAIL_SMTP_AUTH: "true"
|
||||||
|
MAIL_SMTP_USERNAME: michael.scheidel@scheidel.biz
|
||||||
|
MAIL_SMTP_PASSWORD: ?EAM?Yes!01
|
||||||
|
|
||||||
DATABASE_DRIVER: org.postgresql.Driver
|
DATABASE_DRIVER: org.postgresql.Driver
|
||||||
DATABASE_URL: jdbc:postgresql://database:5432/traccar
|
DATABASE_URL: jdbc:postgresql://database:5432/traccar
|
||||||
DATABASE_USER: traccar
|
DATABASE_USER: traccar
|
||||||
DATABASE_PASSWORD: traccar
|
DATABASE_PASSWORD: traccar
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "wget", "-q", "--spider", "http://localhost:8082/api/health" ]
|
test: [ "CMD", "wget", "-q", "--spider", "http://localhost:8082/api/health" ]
|
||||||
interval: 2m
|
interval: 2m
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_period: 1h
|
start_period: 1h
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "8082:8082"
|
- "8082:8082"
|
||||||
- "5144:5144"
|
- "5144:5144"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- logs:/opt/traccar/logs
|
- logs:/opt/traccar/logs
|
||||||
- conf:/opt/traccar/conf #hier liegt die traccar.xml zum Einbinden von OpenID
|
- conf:/opt/traccar/conf #hier liegt die traccar.xml zum Einbinden von OpenID
|
||||||
@@ -44,6 +60,7 @@ services:
|
|||||||
AUTOHEAL_START_PERIOD: 3600
|
AUTOHEAL_START_PERIOD: 3600
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
logs:
|
logs:
|
||||||
|
|||||||
Reference in New Issue
Block a user