Skip to content

Commit e3bb1cb

Browse files
committed
fixes for backend docker
1 parent 488fa55 commit e3bb1cb

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.env.prod.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ APP_NAME=DjangoAPI
88
API_SECRET_KEY= CHANGE THIS TO A RANDOM STRING
99
API_ALLOWED_HOSTS=".localhost 127.0.0.1 [::1] .mythosmc.com"
1010

11+
POSTGRES_HOST=localhost
12+
POSTGRES_NAME=postgres
13+
POSTGRES_USER=postgres
14+
POSTGRES_PASSWORD=password
15+
POSTGRES_PORT=5432
16+
1117
DJANGO_SUPERUSER_PASSWORD= CHANGE THIS TO A RANDOM STRING
1218
DJANGO_SUPERUSER_EMAIL= CHANGE THIS TO A VALID EMAIL
1319
DJANGO_SUPERUSER_USERNAME= CHANGE THIS TO A VALID USERNAME

.github/workflows/cd-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
cache-to: type=gha,mode=max
4343
platforms: linux/amd64,linux/arm64
4444
build-args: |
45-
NEXT_PUBLIC_BACKEND_URL=/api
45+
NEXT_PUBLIC_BACKEND_URL=/api/
4646
- name: Output client image name
4747
if: github.event_name != 'pull_request'
4848
run: |

0 commit comments

Comments
 (0)