mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Use docker default logging configuration
This commit is contained in:
13
debian/docker-compose.yml
vendored
13
debian/docker-compose.yml
vendored
@@ -1,11 +1,5 @@
|
|||||||
# name: invoiceninja
|
# name: invoiceninja
|
||||||
|
|
||||||
x-logging: &default-logging
|
|
||||||
options:
|
|
||||||
max-size: "10m"
|
|
||||||
max-file: "3"
|
|
||||||
driver: json-file
|
|
||||||
|
|
||||||
x-app-volumes: &volumes
|
x-app-volumes: &volumes
|
||||||
volumes:
|
volumes:
|
||||||
- app_storage:/app/storage
|
- app_storage:/app/storage
|
||||||
@@ -38,7 +32,6 @@ services:
|
|||||||
# condition: service_healthy
|
# condition: service_healthy
|
||||||
# valkey:
|
# valkey:
|
||||||
# condition: service_healthy
|
# condition: service_healthy
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
app-worker:
|
app-worker:
|
||||||
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
||||||
@@ -59,7 +52,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
app-scheduler:
|
app-scheduler:
|
||||||
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
||||||
@@ -77,7 +69,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:8
|
image: mysql:8
|
||||||
@@ -94,7 +85,6 @@ services:
|
|||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
@@ -106,7 +96,6 @@ services:
|
|||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
# mariadb:
|
# mariadb:
|
||||||
# image: mariadb:11.4
|
# image: mariadb:11.4
|
||||||
@@ -121,7 +110,6 @@ services:
|
|||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
# test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
# start_period: 60s
|
# start_period: 60s
|
||||||
# logging: *default-logging
|
|
||||||
|
|
||||||
# valkey:
|
# valkey:
|
||||||
# image: valkey/valkey:8
|
# image: valkey/valkey:8
|
||||||
@@ -131,7 +119,6 @@ services:
|
|||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: [ "CMD", "valkey-cli", "ping" ]
|
# test: [ "CMD", "valkey-cli", "ping" ]
|
||||||
# start_period: 10s
|
# start_period: 10s
|
||||||
# logging: *default-logging
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
app_storage:
|
app_storage:
|
||||||
|
|||||||
Reference in New Issue
Block a user