docker compose
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user