Docker refactoring

This commit is contained in:
Michael S2pac 2026-01-18 21:33:06 +03:00
parent 1561ec3c77
commit b71c684098
2 changed files with 1 additions and 4 deletions

View file

@ -3,7 +3,7 @@ services:
build: build:
context: . context: .
args: args:
XRAY_VERSION: "${XRAY_VERSION:-v25.10.15}" XRAY_VERSION: "${XRAY_VERSION:-v26.1.18}"
container_name: 3xui_app container_name: 3xui_app
volumes: volumes:
- $PWD/db/:/etc/x-ui/ - $PWD/db/:/etc/x-ui/

View file

@ -18,8 +18,5 @@ mkdir -p /var/log
touch /var/log/cron.log touch /var/log/cron.log
mkdir -p "$SHARED_VOLUME_PATH" mkdir -p "$SHARED_VOLUME_PATH"
#cp -r "$XRAY_BUILD_DIR"/* "$SHARED_VOLUME_PATH"/
#touch "$SHARED_VOLUME_PATH/cron-job-finished.txt" # cron job execution imitation
exec crond -f -l 2 exec crond -f -l 2