Skip to content

Commit fa24fc8

Browse files
authored
Merge pull request #14 from fga-eps-mds/feature/config-deploy
Configure repository for Render deploy
2 parents 4b02aa9 + 660dbc5 commit fa24fc8

File tree

14 files changed

+51
-343
lines changed

14 files changed

+51
-343
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,8 @@ jobs:
2424
cat <<EOF > .env
2525
POSTGRESQL_USERNAME=postgres
2626
POSTGRESQL_PASSWORD=postgres
27-
POSTGRESQL_SERVER=localhost
28-
POSTGRESQL_PORT=5432
2927
POSTGRESQL_DATABASE=postgres
3028
DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres
31-
DOMAIN=localhost
32-
ENVIRONMENT=local
33-
BACKEND_CORS_ORIGINS=https://localhost:5173/
34-
JWT_SECRET_KEY=schedula
3529
EOF
3630
3731
- name: Run docker compose

.github/workflows/tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,8 @@ jobs:
2424
cat <<EOF > .env
2525
POSTGRESQL_USERNAME=postgres
2626
POSTGRESQL_PASSWORD=postgres
27-
POSTGRESQL_SERVER=localhost
28-
POSTGRESQL_PORT=5432
2927
POSTGRESQL_DATABASE=postgres
3028
DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres
31-
DOMAIN=localhost
32-
ENVIRONMENT=local
33-
BACKEND_CORS_ORIGINS=https://localhost:5173/
34-
JWT_SECRET_KEY=schedula
3529
EOF
3630
3731
- name: Run docker compose
File renamed without changes.

Dockerfile.prod

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM python:3.13-slim
2+
3+
WORKDIR /userservice
4+
5+
COPY ./requirements.txt /userservice/requirements.txt
6+
7+
RUN pip install --no-cache-dir -r /userservice/requirements.txt
8+
9+
RUN pip install passlib[bcrypt]
10+
11+
COPY . /userservice
12+
13+
CMD ["fastapi", "run", "main.py", "--port", "10000"]

alembic.ini

Lines changed: 0 additions & 116 deletions
This file was deleted.

alembic/README

Lines changed: 0 additions & 1 deletion
This file was deleted.

alembic/env.py

Lines changed: 0 additions & 84 deletions
This file was deleted.

alembic/script.py.mako

Lines changed: 0 additions & 26 deletions
This file was deleted.

alembic/versions/0db21425158a_revision_message.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

core/config.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)