tapis-project / authenticator

BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

fix: GH-74 docker compose v2 unsupported #75

Closed wesleyboar closed 1 month ago

wesleyboar commented 1 month ago

Overview

Support Docker Compose v2 by adding --compatibility flag for v1 dependency.

Related

Testing

### Quick Way 1. Have environment with Docker Compose v1. 2. Remove and recreate containers: `make down` I did `docker-compose down --volumes --rmi all` just to be sure.) `make init_dbs` `docker ps` 3. Verify a container `authenticator_postgres_1` exists. I did this — it worked: 4. Have environment with Docker Compose v2. 5. Repeat step # 2. 6. Repeat step # 3.
### Long Way 1. Have environment with Docker Compose v1. 2. Remove and recreate containers: `make down` I did `docker-compose down --volumes --rmi all` just to be sure.) `make init_dbs` `make migrate.upgrade` `docker-compose up -d authenticator` 3. Verify http://localhost:5000/v3/oauth2/webapp loads the UI. I did this — it worked: 4. Have environment with Docker Compose v2. 5. Repeat step # 2. 6. Repeat step # 3.

Notes

https://stackoverflow.com/a/69519102/11817077