change docker compose file
This commit is contained in:
parent
838b8b4a25
commit
5745856760
1 changed files with 2 additions and 24 deletions
|
@ -1,5 +1,3 @@
|
||||||
version: "3.9"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
# Go application service
|
# Go application service
|
||||||
|
@ -8,8 +6,8 @@ services:
|
||||||
context: go/.
|
context: go/.
|
||||||
args:
|
args:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
#ports:
|
ports:
|
||||||
# - "8080:8080"
|
- "10.0.1.3:8098:8080"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./uploads:/uploads
|
- ./uploads:/uploads
|
||||||
|
@ -20,23 +18,3 @@ services:
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: false
|
com.centurylinklabs.watchtower.enable: false
|
||||||
caddy: pick.brothertec.eu
|
|
||||||
caddy.@geofilter.maxmind_geolocation.db_path: /GeoIP/GeoLite2-Country.mmdb
|
|
||||||
caddy.@geofilter.maxmind_geolocation.deny_countries: RU CN
|
|
||||||
caddy.reverse_proxy: "@geofilter {{upstreams 8080}}"
|
|
||||||
caddy.encode: "zstd gzip"
|
|
||||||
caddy.log: ""
|
|
||||||
caddy.log.output: "file /logs/pick.brothertec.eu.log"
|
|
||||||
caddy.log.output.roll_size: "100MiB"
|
|
||||||
caddy.log.output.roll_keep: "5"
|
|
||||||
caddy.log.output.roll_keep_for: "100d"
|
|
||||||
caddy.log.format: "json"
|
|
||||||
caddy.log.level: "INFO"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
caddy:
|
|
||||||
|
|
||||||
networks:
|
|
||||||
caddy:
|
|
||||||
external: true
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue