# Copyright (c) 2021 Changkun Ou . All Rights Reserved. # Unauthorized using, copying, modifying and distributing, via any # medium is strictly prohibited. services: void: container_name: void restart: always image: void:latest environment: VOID_PORT: :80 volumes: # The bbolt database void kept its metadata in before PostgreSQL. # Read only, and needed only until `void import` has been run and # its report checked; see specs/003-postgres-store.md. The import # runs in this service because the database is reachable only from # postgres_internal, which nothing on the host is joined to: # # docker compose -f docker/docker-compose.yml \ # run --rm void import /app/data/void.db - ../data:/app/data:ro # Credentials: the store connection string, the Telegram bot, and the # login against auth.latere.ai. See .env.template. env_file: - path: ../.env required: true deploy: replicas: 1 networks: - traefik_proxy - postgres_internal networks: traefik_proxy: external: true # Owned by changkun/proxy, which runs the shared database instance the # store lives on. void has its own database and its own role on it; see # specs/003-postgres-store.md. postgres_internal: external: true