Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput committed Oct 19, 2024
1 parent 52d3baa commit 8d29764
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ POSTGRES_PASS=docker
ALLOW_IP_RANGE=0.0.0.0/0
POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology,postgis_raster,pgrouting
POSTGRES_DB=minisass_data
FORCE_SSL=TRUE
FORCE_SSL=FALSE

DATABASE_HOST=db
DATABASE_PORT=5432
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
POSTGRES_DB: minisass_data
POSTGRES_USER: docker
POSTGRES_PASSWORD: docker
ALLOW_IP_RANGE: 0.0.0.0/0

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions django_project/minisass/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
'USER': os.getenv('POSTGRES_USER', ''),
'PASSWORD': os.getenv('POSTGRES_PASS', ''),
'HOST': os.getenv('DATABASE_HOST', ''),
'PORT': os.getenv('DATABASE_PORT', ''),
'OPTIONS': {'sslmode': 'disable'}
'PORT': os.getenv('DATABASE_PORT', '')
}
}

Expand Down

0 comments on commit 8d29764

Please sign in to comment.