Browse Source

Use env var for gnunet image

master
juga 11 months ago
parent
commit
f309138867
2 changed files with 4 additions and 3 deletions
  1. +2
    -0
      .gitlab-ci.yml
  2. +2
    -3
      docker-compose.yml

+ 2
- 0
.gitlab-ci.yml View File

@ -7,6 +7,8 @@ variables:
IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
# To have a common name that can be referenced from other job
RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
# XXX: Change to "official" gnunet image if/when there's one
GNUNET_IMAGE: registry.gitlab.com/juga0/gnunet
# The following are jobs to create the dockerimage from docker with the
# gitlab runner.


+ 2
- 3
docker-compose.yml View File

@ -2,8 +2,7 @@ version: '3'
services:
authority.pep.example:
# XXX: Change to "official" gnunet image if/when there's one
image: registry.gitlab.com/juga0/gnunet
image: ${GNUNET_IMAGE:-gnunet}
container_name: authority.pep.example
hostname: authority
domainname: pep.example
@ -17,7 +16,7 @@ services:
restart: unless-stopped
gnunet.n1.pep.example:
image: registry.gitlab.com/juga0/gnunet
image: ${GNUNET_IMAGE:-gnunet}
container_name: gnunet.n1.pep.example
hostname: gnunet
domainname: n1.pep.example


Loading…
Cancel
Save