HEX
Server: Apache/2.4.63 (Unix)
System: Linux TOMS-220NAS 4.4.302+ #86009 SMP Wed Nov 26 18:19:17 CST 2025 x86_64
User: flavio87 (1026)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /volume1/@appstore/WebStation/misc/package_docker_compose.mustache
version: "2"
services:
    {{type}}:
        depends_on:
            database:
                condition: service_healthy
        healthcheck:
            test: {{&test_command}} || exit 1
            interval: 10s
            timeout: 3s
            retries: 30
            start_period: 40s
        image: {{image_full_name}}
        labels:
            com.webstation.type: "thirdparty"
        sysctls:
            net.core.somaxconn: 65535
        volumes:
            - {{project_root}}:{{syno_root}}
        {{#has_env}}environment:{{/has_env}}
        {{#environment}}    {{name}}: {{&value}}
        {{/environment}}
    system:
        depends_on:
            {{type}}:
                condition: service_healthy
        image: busybox
        tty: true
    {{#db_settings.enable}}
{{> /var/packages/WebStation/target/misc/database_docker_compose}}
        healthcheck:
            test: {{#db_settings.is_mariadb}}{{db_settings.mysql_bin}} -u "${{db_settings.capitalType}}_USER" -p"${{db_settings.capitalType}}_PASSWORD" -e'quit' || exit 1{{/db_settings.is_mariadb}}{{^db_settings.is_mariadb}}pg_isready -U "${{db_settings.capitalType}}_USER"{{/db_settings.is_mariadb}}
            interval: 32s
            timeout: 30s
            retries: 30
            start_period: 40s
    {{/db_settings.enable}}