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: services:
ip-info: ip-info:
build: . build: .
ports: # ports:
- "28080:8080" # - "28080:8080"
restart: always restart: always
volumes: volumes:
- ./data:/app/data - ./data:/app/data
network_mode: host
environment: environment:
- GIN_MODE=release - GIN_MODE=release
- GIN_TRUSTED_PROXY_IP=127.0.0.1 - GIN_TRUSTED_PROXY_IP=127.0.0.1