Environments are deployment targets
CI variables can be scoped to environments
(Hint: Environments can also be assigned using branch names)
Retrieve passwords for dev and live environments:
docker ps --filter "label=com.docker.compose.service=nginx" --quiet \
| xargs -I{} docker logs {} \
| grep "Password for "
PASS
twice with scope dev
/live
SEAT_INDEX
with your seat numberdeploy
curl
dev
and live
(See new .gitlab-ci.yml
)