From d88d6c814abb20eb3e3590d98d98cee466401592 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Fri, 4 Oct 2024 13:19:27 +0200 Subject: [PATCH] docker: use shorter name for instance --- compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compose.yml b/compose.yml index c691b303..4b87e0b6 100644 --- a/compose.yml +++ b/compose.yml @@ -9,7 +9,7 @@ services: depends_on: - db volumes: - - ./local-instances/${LOCAL_INSTANCE_NAME:-0}/www:/var/www/html + - ./local-instances/${INSTANCE:-0}/www:/var/www/html - ./docker/nginx/vichan.conf:/etc/nginx/conf.d/default.conf - ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf - ./docker/nginx/proxy.conf:/etc/nginx/conf.d/proxy.conf @@ -21,7 +21,7 @@ services: context: . dockerfile: ./docker/php/Dockerfile volumes: - - ./local-instances/${LOCAL_INSTANCE_NAME:-0}/www:/var/www + - ./local-instances/${INSTANCE:-0}/www:/var/www - ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf - ./docker/php/jit.ini:/usr/local/etc/php/conf.d/jit.ini @@ -37,4 +37,4 @@ services: MYSQL_DATABASE: vichan MYSQL_ROOT_PASSWORD: password volumes: - - ./local-instances/${LOCAL_INSTANCE_NAME:-0}/mysql:/var/lib/mysql + - ./local-instances/${INSTANCE:-0}/mysql:/var/lib/mysql