diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 74aa3c17..b83f536f 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -8,3 +8,5 @@ services: dockerfile: Dockerfile.dev volumes: - ./service:/service:ro + - /lib/modules:/lib/modules:ro + - /etc/resolv.conf:/etc/resolv.conf diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 7975154f..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: "3" -services: - v2raya: - privileged: true - network_mode: host # --network host - restart: always - build: .