picture-uploader/docker-compose.yml

43 lines
963 B
YAML
Raw Normal View History

2024-01-11 22:23:10 +01:00
version: "3.9"
services:
# Go application service
go-app:
build:
context: go/.
args:
- GO111MODULE=on
#ports:
# - "8080:8080"
2025-01-02 12:45:42 +01:00
volumes:
2024-01-11 22:23:10 +01:00
- ./uploads:/uploads
2024-03-08 14:59:31 +01:00
- ./templates:/templates
2024-04-01 12:58:36 +02:00
- ./static:/static
2024-01-11 22:23:10 +01:00
restart: always
labels:
2025-01-22 00:54:58 +01:00
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"
2024-01-11 22:23:10 +01:00
networks:
default:
2025-01-22 02:30:16 +01:00
caddy:
2024-01-11 22:23:10 +01:00
networks:
2025-01-22 02:30:16 +01:00
caddy:
2024-01-11 22:23:10 +01:00
external: true