27 lines
644 B
Django/Jinja
27 lines
644 B
Django/Jinja
# code: language=ansible-jinja
|
|
version: "3.8"
|
|
|
|
services:
|
|
kubo:
|
|
image: ipfs/kubo:{{ apps_vars.ipfs.version }}
|
|
restart: always
|
|
environment:
|
|
LOCAL_DOMAIN: {{ apps_vars.ipfs.domain }}
|
|
IPFS_DOMAIN: {{ apps_vars.ipfs.gateway_domain }}
|
|
IPFS_PROFILE: server
|
|
networks:
|
|
{{ apps_shared_docker_network }}:
|
|
aliases:
|
|
- ipfs
|
|
ports:
|
|
- 4001:4001/tcp
|
|
- 4001:4001/udp
|
|
volumes:
|
|
- "./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
|