26 lines
602 B
YAML
26 lines
602 B
YAML
services:
|
|
main:
|
|
ports:
|
|
- 7775:7775
|
|
build: .
|
|
volumes:
|
|
- .:/app
|
|
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"}'
|
|
|
|
env_file:
|
|
- ./imgproxy.env
|
|
imgproxy:
|
|
image: 'darthsim/imgproxy'
|
|
ports:
|
|
- 5851:8080
|
|
squid:
|
|
image: 'ubuntu/squid'
|
|
environment:
|
|
- TZ=UTC
|
|
volumes:
|
|
- ./squid.conf:/etc/squid/squid.conf
|