Skip to content

Commit e86d55e

Browse files
committed
Merged in docker-compose-v2 (pull request #6738)
R2-2835 Docker compose v2
2 parents f7e6173 + 16cc2f4 commit e86d55e

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

ansible/install-docker.yml

-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@
55
roles:
66
- 'manage-users'
77
- 'quoin.infrastructure.configure_journald'
8-
- 'quoin.infrastructure.install_python3_virtualenv'
9-
- 'quoin.infrastructure.install_python3_docker'
10-
- 'quoin.infrastructure.install_python3_docker_compose'
118
- 'quoin.infrastructure.install_docker'

ansible/roles/primero-certbot/files/certbot

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _main(argv):
131131
finally:
132132
shutil.rmtree(host_dir)
133133
if renewed:
134-
nginx_container_name = ''.join([arguments.project_name, '_nginx_1'])
134+
nginx_container_name = ''.join([arguments.project_name, '-nginx-1'])
135135
_check_call(['docker', 'exec', '--interactive', nginx_container_name, 'update-nginx-conf.sh'])
136136
_check_call(['docker', 'exec', '--interactive', nginx_container_name, 'nginx', '-s', 'reload'])
137137
return 0

docker/compose.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
: "${PROJECT_NAME:=primero}"
55

66
set -euox
7-
exec docker-compose -p "${PROJECT_NAME}" --project-directory "../" -f "docker-compose.yml" "${@}"
7+
exec docker compose -p "${PROJECT_NAME}" --project-directory "../" -f "docker-compose.yml" "${@}"

0 commit comments

Comments
 (0)