docker compose

This commit is contained in:
thuanle
2024-07-14 00:58:52 +07:00
parent eaeb32b421
commit 985e710dbe

View File

@@ -1,11 +1,12 @@
services:
ip-info:
build: .
ports:
- "28080:8080"
# ports:
# - "28080:8080"
restart: always
volumes:
- ./data:/app/data
network_mode: host
environment:
- GIN_MODE=release
- GIN_TRUSTED_PROXY_IP=127.0.0.1