Support Docker Compose v2 by adding --compatibility flag for v1 dependency.
Related
fixes #74
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.
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