Update traccar.yml
This commit is contained in:
parent
dfb9081d4e
commit
fd4316e2ed
1 changed files with 1 additions and 6 deletions
|
|
@ -9,7 +9,7 @@ services:
|
||||||
image: traccar/traccar
|
image: traccar/traccar
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_FQDN_TRACCAR_8082
|
- SERVICE_FQDN_TRACCAR_8082
|
||||||
- SERVICE_FQDN_TRACCAR_5159=/api
|
- SERVICE_FQDN_TRACCAR_API_5159
|
||||||
- CONFIG_USE_ENVIRONMENT_VARIABLES=true
|
- CONFIG_USE_ENVIRONMENT_VARIABLES=true
|
||||||
- DATABASE_USER=$SERVICE_USER_POSTGRES
|
- DATABASE_USER=$SERVICE_USER_POSTGRES
|
||||||
- DATABASE_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
- DATABASE_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
||||||
|
|
@ -25,11 +25,6 @@ services:
|
||||||
<entry key='database.driver'>org.postgresql.Driver</entry>
|
<entry key='database.driver'>org.postgresql.Driver</entry>
|
||||||
<entry key='database.url'>jdbc:postgresql://postgres:5432/traccar</entry>
|
<entry key='database.url'>jdbc:postgresql://postgres:5432/traccar</entry>
|
||||||
</properties>
|
</properties>
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8082"]
|
|
||||||
interval: 5s
|
|
||||||
timeout: 20s
|
|
||||||
retries: 10
|
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue