Skip to content

Commit

Permalink
Merged in docker-compose-v2 (pull request #6738)
Browse files Browse the repository at this point in the history
R2-2835 Docker compose v2
  • Loading branch information
pnabutovsky committed Apr 5, 2024
2 parents f7e6173 + 16cc2f4 commit e86d55e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions ansible/install-docker.yml
Expand Up @@ -5,7 +5,4 @@
roles:
- 'manage-users'
- 'quoin.infrastructure.configure_journald'
- 'quoin.infrastructure.install_python3_virtualenv'
- 'quoin.infrastructure.install_python3_docker'
- 'quoin.infrastructure.install_python3_docker_compose'
- 'quoin.infrastructure.install_docker'
2 changes: 1 addition & 1 deletion ansible/roles/primero-certbot/files/certbot
Expand Up @@ -131,7 +131,7 @@ def _main(argv):
finally:
shutil.rmtree(host_dir)
if renewed:
nginx_container_name = ''.join([arguments.project_name, '_nginx_1'])
nginx_container_name = ''.join([arguments.project_name, '-nginx-1'])
_check_call(['docker', 'exec', '--interactive', nginx_container_name, 'update-nginx-conf.sh'])
_check_call(['docker', 'exec', '--interactive', nginx_container_name, 'nginx', '-s', 'reload'])
return 0
Expand Down
2 changes: 1 addition & 1 deletion docker/compose.sh
Expand Up @@ -4,4 +4,4 @@
: "${PROJECT_NAME:=primero}"

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

0 comments on commit e86d55e

Please sign in to comment.