diff --git a/docker-compose.arm64.yml b/docker-compose.arm64.yml index 41ed427..845c4e9 100644 --- a/docker-compose.arm64.yml +++ b/docker-compose.arm64.yml @@ -7,8 +7,8 @@ services: env_file: - .env volumes: - - "./db:/app/db" # only change the left side before the colon - - "./templates/index.html:/app/templates/index.html" # only change the left side before the colon - - "./templates/static:/app/templates/static" # only change the left side before the colon + - "./db:/app/db" + - "./templates/index.html:${INDEX_PATH}" + - "./templates/static:${STATIC_PATH}" ports: - "3334:3334" diff --git a/docker-compose.tor.yml b/docker-compose.tor.yml index 9f03092..c9386cb 100644 --- a/docker-compose.tor.yml +++ b/docker-compose.tor.yml @@ -8,8 +8,8 @@ services: - .env volumes: - "./db:/app/db" - - "./templates/index.html:/app/templates/index.html" - - "./templates/static:/app/templates/static" + - "./templates/index.html:${INDEX_PATH}" + - "./templates/static:${STATIC_PATH}" ports: - "3334" diff --git a/docker-compose.yml b/docker-compose.yml index 13ca973..f9a8e74 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,8 +7,8 @@ services: env_file: - .env volumes: - - "./db:/app/db" # only change the left side before the colon - - "./templates/index.html:/app/templates/index.html" # only change the left side before the colon - - "./templates/static:/app/templates/static" # only change the left side before the colon + - "./db:/app/db" + - "./templates/index.html:${INDEX_PATH}" + - "./templates/static:${STATIC_PATH}" ports: - "3334:3334"