squid/docker-compose.yml

28 lines
510 B
YAML

version: "3.7"
services:
gitea:
deploy:
placement:
constraints: [node.labels.com.sigyl.git-stack == yes]
replicas: 1
restart_policy:
condition: any
image: mikepurvis/squid-deb-proxy:latest
#environment:
volumes:
- squid-cache:/cachedir
ports:
- 8000:8000
networks:
- appnet
- externalnet
volumes:
squid-cache:
networks:
appnet:
driver: overlay
#external: true
externalnet:
driver: overlay
external: true