Compare commits
No commits in common. "4637b9417c35d29de5f6e1764013ea82b8bed367" and "ed3854f542aa15e367d69ed6bff7c72f7caa4470" have entirely different histories.
4637b9417c
...
ed3854f542
3 changed files with 0 additions and 88 deletions
52
.air.toml
52
.air.toml
|
@ -1,52 +0,0 @@
|
||||||
root = "."
|
|
||||||
testdata_dir = "testdata"
|
|
||||||
tmp_dir = "tmp"
|
|
||||||
|
|
||||||
[build]
|
|
||||||
args_bin = []
|
|
||||||
bin = "./tmp/main"
|
|
||||||
cmd = "go build -o ./tmp/main ."
|
|
||||||
delay = 1000
|
|
||||||
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
|
|
||||||
post_cmd = []
|
|
||||||
pre_cmd = []
|
|
||||||
rerun = false
|
|
||||||
rerun_delay = 500
|
|
||||||
send_interrupt = false
|
|
||||||
stop_on_error = false
|
|
||||||
|
|
||||||
[color]
|
|
||||||
app = ""
|
|
||||||
build = "yellow"
|
|
||||||
main = "magenta"
|
|
||||||
runner = "green"
|
|
||||||
watcher = "cyan"
|
|
||||||
|
|
||||||
[log]
|
|
||||||
main_only = false
|
|
||||||
silent = false
|
|
||||||
time = false
|
|
||||||
|
|
||||||
[misc]
|
|
||||||
clean_on_exit = false
|
|
||||||
|
|
||||||
[proxy]
|
|
||||||
app_port = 0
|
|
||||||
enabled = false
|
|
||||||
proxy_port = 0
|
|
||||||
|
|
||||||
[screen]
|
|
||||||
clear_on_rebuild = false
|
|
||||||
keep_scroll = true
|
|
0
air.toml
Normal file
0
air.toml
Normal file
|
@ -1,36 +0,0 @@
|
||||||
services:
|
|
||||||
mongo:
|
|
||||||
image: mongo
|
|
||||||
container_name: mongo
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
# ---------- credentials ----------
|
|
||||||
environment:
|
|
||||||
MONGO_INITDB_ROOT_USERNAME: ${MONGO_ROOT_USER}
|
|
||||||
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_ROOT_PASSWORD}
|
|
||||||
|
|
||||||
# ---------- persistence ----------
|
|
||||||
volumes:
|
|
||||||
# primary data store
|
|
||||||
- mongo_data:/data/db
|
|
||||||
# (optional) replica‑set metadata; small but useful to persist
|
|
||||||
- mongo_cfg:/data/configdb
|
|
||||||
# seed scripts for first‑run init (create users, seed collections, etc.)
|
|
||||||
- ./mongo/init:/docker-entrypoint-initdb.d:ro
|
|
||||||
|
|
||||||
# ---------- networking ----------
|
|
||||||
# Only published when the 'dev' profile is active
|
|
||||||
ports:
|
|
||||||
- "${MONGO_PORT}:27017"
|
|
||||||
|
|
||||||
# ---------- basic health check ----------
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "mongosh", "--quiet", "--eval", "db.adminCommand('ping')"]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 5
|
|
||||||
|
|
||||||
# ---------- named volumes ----------
|
|
||||||
volumes:
|
|
||||||
mongo_data:
|
|
||||||
mongo_cfg:
|
|
Loading…
Add table
Add a link
Reference in a new issue