From 751e74448a38ff4f509ea1cd36b6430d6d9fba82 Mon Sep 17 00:00:00 2001 From: parsa Date: Sun, 3 Sep 2023 11:35:54 +0330 Subject: [PATCH] make it docker runable --- .gitignore | 1 - docker-compose.yaml | 3 +++ start/main.go | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 start/main.go diff --git a/.gitignore b/.gitignore index 0c895c6..01a3ed5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,5 @@ testsite/ db.sqlite3 test.db test-some/ -main.go **/links.txt test.py diff --git a/docker-compose.yaml b/docker-compose.yaml index c2fe714..92bff34 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,4 +3,7 @@ services: build: context: . container_name: v2ray_tester + environment: + - auth=1 + restart: always diff --git a/start/main.go b/start/main.go new file mode 100644 index 0000000..0ca5b7f --- /dev/null +++ b/start/main.go @@ -0,0 +1,10 @@ +package main + +import ( + "github.com/Kawaii-Konnections-KK-Limited/Hayasashiken/foreignusage" +) + +func main() { + + foreignusage.InitService(nil, nil) +}