lab-ansible/roles/apps/templates/compose-files/ipfs.yml.j2

26 lines
643 B
Plaintext
Raw Normal View History

# code: language=ansible-jinja
version: "3.8"
services:
kubo:
image: ipfs/kubo:{{ apps_vars.ipfs.version }}
restart: always
environment:
IPFS_DOMAIN: {{ apps_vars.ipfs.gateway_domain }}
IPFS_PROFILE: server
LOCAL_DOMAIN: {{ apps_vars.ipfs.domain }}
networks:
{{ apps_shared_docker_network }}:
aliases:
- ipfs
ports:
- 4001:4001/tcp
- 4001:4001/udp
volumes:
2023-11-05 17:27:49 +00:00
- "./data/ipfs-config.sh:/container-init.d/ipfs-config.sh:ro"
- "./data/data:/data/ipfs:rw"
- "./data/staging:/export:rw"
networks:
{{ apps_shared_docker_network }}:
external: true