Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Raff-dev committed Oct 4, 2023
1 parent fe495c4 commit f6e784c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
1 change: 0 additions & 1 deletion .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
if: 0 == 1
needs: [test]


steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion api/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ done

echo "PostgreSQL started"

python manage.py migrate
pytest -s
44 changes: 22 additions & 22 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
version: "3.8"
volumes:
postgres_data: {}
postgres_data: {}
services:
database:
image: postgres:13
volumes:
- "postgres_data:/var/lib/postgresql/data"
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- ${POSTGRES_PORT}:5432
database:
image: postgres:13
volumes:
- "postgres_data:/var/lib/postgresql/data"
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- ${POSTGRES_PORT}:5432

backend:
build: "."
command: python manage.py runserver 0.0.0.0:8000
ports:
- 8000:8000
volumes:
- ./api:/code/api
env_file:
- .env
depends_on:
- database
backend:
build: "."
command: python manage.py runserver 0.0.0.0:8000
ports:
- 8000:8000
volumes:
- ./api:/code/api
env_file:
- .env
depends_on:
- database

0 comments on commit f6e784c

Please sign in to comment.