docker feature 0.0001
Some checks failed
Build Docker / build (push) Failing after 12s

This commit is contained in:
2026-02-28 11:02:23 +03:00
parent e3eab0af29
commit 071df119c1
3 changed files with 13 additions and 2 deletions

View File

@@ -8,5 +8,10 @@ jobs:
runs-on: linux-latest runs-on: linux-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Create .env file
run: |
echo "${{ secrets.ENV_FILE }}" > .env
- name: Build image - name: Build image
run: docker build -t back:latest . run: docker build -t back:latest -f docker/dockerfile .
- name: Start docker-compose
run: docker-compose -f docker/docker-compose.yaml up -d

View File

@@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
alembic -c server/backend/database/alembic/alembic.ini revision --autogenerate
alembic -c server/backend/database/alembic/alembic.ini upgrade head alembic -c server/backend/database/alembic/alembic.ini upgrade head
exec python run.py exec python run.py

View File

@@ -1 +1,6 @@
DIR = "..." DIR = "..."
PORT = "..."
#JWT
SECRET_KEY="..."
ALGORITHM="..."
ACCESS_TOKEN_EXPIRE_SECONDS="..."