2023-12-29 18:07:08 +00:00
|
|
|
{# code: language=ansible-jinja #}
|
2023-12-23 16:52:27 +00:00
|
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
|
2023-11-03 22:38:15 +00:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
kubo:
|
|
|
|
image: ipfs/kubo:{{ apps_vars.ipfs.version }}
|
|
|
|
restart: always
|
|
|
|
environment:
|
2023-11-11 14:47:51 +00:00
|
|
|
LOCAL_DOMAIN: {{ apps_vars.ipfs.domain }}
|
2023-11-03 22:38:15 +00:00
|
|
|
IPFS_DOMAIN: {{ apps_vars.ipfs.gateway_domain }}
|
|
|
|
IPFS_PROFILE: server
|
|
|
|
networks:
|
|
|
|
{{ apps_shared_docker_network }}:
|
|
|
|
aliases:
|
|
|
|
- ipfs
|
|
|
|
ports:
|
2023-12-25 20:49:17 +00:00
|
|
|
- 4001:4001/tcp
|
|
|
|
- 4001:4001/udp
|
2023-11-03 22:38:15 +00:00
|
|
|
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"
|
2023-11-03 22:38:15 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
{{ apps_shared_docker_network }}:
|
2023-11-08 21:30:41 +00:00
|
|
|
external: true
|