compose/writefreely/docker-compose.yml

28 lines
766 B
YAML

services:
writefreely:
container_name: writefreely
build:
context: build
args:
- VERSION=0.15.1
image: luotianyi/wirefreely:0.15.1
restart: unless-stopped
networks:
- proxy
volumes:
- "./data:/app/data"
- "./keys:/app/keys"
- "./custom:/app/static/custom"
- "./entrypoint:/docker-entrypoint.d"
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.writefreely.Rule=Host(`write.example.com`)"
- "traefik.http.routers.writefreely.entrypoints=websecure"
- "traefik.http.routers.writefreely.service=writefreely"
- "traefik.http.services.writefreely.loadbalancer.server.port=9000"
networks:
proxy:
external: true