diff --git a/.air.toml b/.air.toml deleted file mode 100644 index c9b54f3..0000000 --- a/.air.toml +++ /dev/null @@ -1,44 +0,0 @@ -root = "." -testdata_dir = "testdata" -tmp_dir = "tmp" - -[build] - args_bin = [] - bin = "./tmp/main" - cmd = "go build -o ./tmp/main ." - delay = 0 - exclude_dir = ["assets", "tmp", "vendor", "testdata"] - exclude_file = [] - exclude_regex = ["_test.go"] - exclude_unchanged = false - follow_symlink = false - full_bin = "" - include_dir = [] - include_ext = ["go", "tpl", "tmpl", "html"] - include_file = [] - kill_delay = "0s" - log = "build-errors.log" - poll = false - poll_interval = 0 - rerun = false - rerun_delay = 500 - send_interrupt = false - stop_on_error = true - -[color] - app = "" - build = "yellow" - main = "magenta" - runner = "green" - watcher = "cyan" - -[log] - main_only = false - time = false - -[misc] - clean_on_exit = false - -[screen] - clear_on_rebuild = false - keep_scroll = true diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index f944eb2..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch Package", - "type": "go", - "request": "launch", - "mode": "auto", - "program": "." - } - ] -} \ No newline at end of file diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 2666abf..ce55be6 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -1,12 +1,10 @@ -version: '3' - services: - anonymousoverflow: - container_name: 'app' - image: 'ghcr.io/httpjamesm/anonymousoverflow:release' - environment: - - APP_URL=https://domain.com - - JWT_SIGNING_SECRET=secret - ports: - - '80:8080' - restart: 'always' + anonymousoverflow: + container_name: anonymous_overflow + image: git.ngn.tf/ngn/anonymous_overflow:latest + environment: + - APP_URL=https://domain.com + - JWT_SIGNING_SECRET=secret + ports: + - 80:8080 + restart: unless-stopped