mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
disable json logs
This commit is contained in:
23
debian/docker-compose.yml
vendored
23
debian/docker-compose.yml
vendored
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
x-app-volumes: &volumes
|
x-app-volumes: &volumes
|
||||||
volumes:
|
volumes:
|
||||||
- app_storage:/app/storage
|
- app_storage:/app/storage
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
@@ -12,12 +12,12 @@ services:
|
|||||||
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# php artisan help octane:frankenphp
|
# php artisan help octane:frankenphp
|
||||||
command: --port=80 --workers=2 --log-level=info
|
command: --port=80 --workers=2
|
||||||
# command: --host=example.com --port=443 --workers=2 --https --http-redirect --log-level=info
|
# command: --host=example.com --port=443 --workers=2 --https --http-redirect --log-level=info
|
||||||
ports:
|
ports:
|
||||||
- "80:80" # HTTP
|
- "80:80" # HTTP
|
||||||
# - "443:443" # HTTPS
|
# - "443:443" # HTTPS
|
||||||
# - "443:443/udp" # HTTP/3, Works for chromium based browser, but causes H3_GENERAL_PROTOCOL_ERROR for pdf previews in Firefox
|
# - "443:443/udp" # HTTP/3, Works for chromium based browser, but causes H3_GENERAL_PROTOCOL_ERROR for pdf previews in Firefox
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
environment:
|
environment:
|
||||||
@@ -32,7 +32,7 @@ services:
|
|||||||
# condition: service_healthy
|
# condition: service_healthy
|
||||||
# valkey:
|
# valkey:
|
||||||
# condition: service_healthy
|
# condition: service_healthy
|
||||||
|
|
||||||
app-worker:
|
app-worker:
|
||||||
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -81,7 +81,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- mysql_data:/var/lib/mysql
|
- mysql_data:/var/lib/mysql
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "mysqladmin", "ping", "-h", "localhost", "-u${MYSQL_USER}", "-p${MYSQL_PASSWORD}" ]
|
test:
|
||||||
|
[
|
||||||
|
"CMD",
|
||||||
|
"mysqladmin",
|
||||||
|
"ping",
|
||||||
|
"-h",
|
||||||
|
"localhost",
|
||||||
|
"-u${MYSQL_USER}",
|
||||||
|
"-p${MYSQL_PASSWORD}",
|
||||||
|
]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -92,7 +101,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- redis_data:/data
|
- redis_data:/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "redis-cli", "ping" ]
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user