Skip to content
Snippets Groups Projects
Commit d77cb56c authored by Igor Witz's avatar Igor Witz
Browse files

Update pica-etherpad/docker-compose.yml, .gitlab-ci.yml files

parent e2a946ee
No related branches found
No related tags found
1 merge request!35Gestion des secrets
Pipeline #40828 failed
......@@ -93,7 +93,8 @@ docker-bench-security:
- sed -i -e '/networks/,+3d' $MODIFIED_IMAGE/docker-compose.yml
# if secrets.example files exist, remove the .example extension to be able to start the container
- if [[ -d $MODIFIED_IMAGE/secrets ]]; then for i in $MODIFIED_IMAGE/secrets/*.example ; do cp $i $(echo $i| cut -d '.' -f1,2); done; fi;
- docker volume create $CONTAINER_NAME
# let docker-compose create the required volumes and networks
- sed -i -e 's/external: true/external: false/g' $MODIFIED_IMAGE/docker-compose.yml
script:
- cd $MODIFIED_IMAGE
- docker-compose up -d
......
......@@ -2,8 +2,8 @@ version : "2.4"
volumes:
etherpad-db-volume:
external:
name: "etherpad-db"
external: true
name: "etherpad-db"
networks:
docker_default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment