iwm_browser/docker-compose.yml
2023-06-09 14:07:18 +02:00

25 lines
593 B
YAML

services:
main:
ports:
- 7775:7775
build: .
volumes:
- .:/app
env_file:
- .env
environment:
- IWM_SERVER="http://make.fangam.es"
- IWM_THUMBNAILS="https://images.make.fangam.es"
- IMGPROXY_URL="http://127.0.0.1:5851"
- IMGPROXY_PARAMS="{\"advanced\":[\"q:50\"]}"
- 'HTTP_PROXIES={"all://make.fangam.es": "http://squid:3128"}'
imgproxy:
image: 'darthsim/imgproxy'
ports:
- 5851:8080
squid:
image: 'ubuntu/squid'
environment:
- TZ=UTC
volumes:
- ./squid.conf:/etc/squid/squid.conf