74 lines
2.0 KiB
YAML
74 lines
2.0 KiB
YAML
version: "0.1"
|
|
is_strict: true
|
|
log_location: "process-compose.log"
|
|
log_level: debug
|
|
log_configuration:
|
|
fields_order: ["time", "level", "message"] # order of logging fields. The default is time, level, message
|
|
disable_json: true # output as plain text. The default is false
|
|
timestamp_format: "06-01-02 15:04:05.000" # timestamp format. The default is RFC3339
|
|
no_metadata: true # don't log process name and replica number
|
|
add_timestamp: true # add timestamp to the logger. Default is false
|
|
no_color: true # disable ANSII colors in the logger. Default is false
|
|
flush_each_line: true # disable buffering and flush each line to the log file. Default is false
|
|
|
|
vars:
|
|
|
|
environment:
|
|
|
|
processes:
|
|
uWSGI HTTP Router 1:
|
|
environment:
|
|
command: "uwsgi sub1.ini"
|
|
description: uWSGI HTTP Router 1
|
|
is_daemon: false
|
|
disabled: false
|
|
|
|
availability:
|
|
restart: "no"
|
|
exit_on_end: true
|
|
|
|
uWSGI HTTP Router 2:
|
|
environment:
|
|
command: "uwsgi sub2.ini"
|
|
description: uWSGI HTTP Router 2
|
|
is_daemon: false
|
|
disabled: false
|
|
availability:
|
|
restart: "no"
|
|
|
|
uWSGI App 1:
|
|
environment:
|
|
command: "uwsgi app1.ini"
|
|
description: uWSGI App 1 on port 19027
|
|
is_daemon: false
|
|
disabled: false
|
|
availability:
|
|
restart: "no"
|
|
depends_on:
|
|
uWSGI HTTP Router 1:
|
|
condition: process_completed_successfuly
|
|
|
|
uWSGI App 2:
|
|
environment:
|
|
command: "uwsgi app2.ini"
|
|
description: uWSGI App 2 on port 19028
|
|
is_daemon: false
|
|
disabled: false
|
|
availability:
|
|
restart: "no"
|
|
depends_on:
|
|
uWSGI HTTP Router 1:
|
|
condition: process_completed_successfuly
|
|
|
|
uWSGI App 3:
|
|
environment:
|
|
command: "uwsgi app3.ini"
|
|
description: uWSGI App 3 on port 19029
|
|
is_daemon: false
|
|
disabled: false
|
|
availability:
|
|
restart: "no"
|
|
depends_on:
|
|
uWSGI HTTP Router 2:
|
|
condition: process_completed_successfuly
|