synth.download/phosphorus/srv/docker/sharkey/compose.yaml

41 lines
No EOL
752 B
YAML

services:
web:
image: registry.activitypub.software/transfem-org/sharkey:latest
restart: always
links:
- redis
depends_on:
redis:
condition: service_healthy
ports:
- "127.0.0.1:60628:60628"
networks:
- shonk
- ip6net
- db
environment:
- NODE_OPTIONS="--max-old-space-size=8192"
volumes:
- ./files:/sharkey/files
- ./.config:/sharkey/.config:ro
redis:
restart: always
image: redis:alpine
networks:
- shonk
volumes:
- ./redis:/data
healthcheck:
test: "redis-cli ping"
interval: 5s
retries: 20
networks:
db:
name: postgres_db
external: true
ip6net:
name: ip6net
external: true
shonk: