Skip to content

Commit

Permalink
set docker pull policy
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Jun 27, 2023
1 parent 2b3f11c commit 100a34c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
gl_ipfs:
container_name: gl_ipfs
image: gildlab/ipfs-node:${GILDLAB_IPFS_NODE_CHANNEL}.ipfs
pull_policy: always
restart: always
# dont expose anything in particular use nginx for that
# localhost and ephemeral ports only
Expand All @@ -14,7 +15,9 @@ services:
# - "127.0.0.1::4001"
# - "127.0.0.1::4001/udp"
# expose directly here for now, can use nginx in future
- "4001:4001"
# Disabling tcp due to router issues. 4001/udp is fine.
# https://github.com/ipfs/kubo/issues/3320#issuecomment-1321103079
# - "4001:4001"
- "4001:4001/udp"
# gateway
- "127.0.0.1::8080"
Expand All @@ -27,6 +30,7 @@ services:
gl_pin:
container_name: gl_pin
image: gildlab/ipfs-node:${GILDLAB_IPFS_NODE_CHANNEL}.pin
pull_policy: always
restart: always
depends_on:
gl_ipfs:
Expand All @@ -43,6 +47,7 @@ services:
gl_nginx:
container_name: gl_nginx
image: gildlab/ipfs-node:${GILDLAB_IPFS_NODE_CHANNEL}.nginx
pull_policy: always
restart: always
ports:
- "80:80"
Expand Down

0 comments on commit 100a34c

Please sign in to comment.