diff --git a/.github/workflows/python-app.yml b/.github/workflows/book-api.yml similarity index 100% rename from .github/workflows/python-app.yml rename to .github/workflows/book-api.yml diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml index 640b362..bd759b2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: api: image: devchem/octo:bookapi_v1.0.0 + container_name: book-api ports: - "8000:8000" volumes: @@ -27,6 +28,7 @@ services: db: image: postgres:13-alpine + container_name: book-api-db environment: - POSTGRES_DB=${POSTGRES_DB} - POSTGRES_USER=${POSTGRES_USER}