-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified settings and environment variables
- Loading branch information
goutomroy
committed
Oct 17, 2023
1 parent
9f91244
commit 5dcaf17
Showing
9 changed files
with
80 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,4 @@ | ||
# web | ||
DJANGO_SETTINGS_MODULE=hex_images.settings.development | ||
SECRET_KEY=django-insecure-@0*hp*@)v1qpq2j&!s3+2gw7!f=kh0h$9tf_e0w4prq&=q860h | ||
|
||
# postgres | ||
POSTGRES_DB=hex_images | ||
POSTGRES_USER=hex_images | ||
POSTGRES_PASSWORD=UiZz91YIW5GETnX2ifoCl8BtI8wuToLS | ||
POSTGRES_HOST=postgres | ||
POSTGRES_PORT=5432 | ||
|
||
# redis | ||
ALLOW_EMPTY_PASSWORD=no | ||
REDIS_PASSWORD=UiZz91YIW5GETdsfnX2ifoCl8BtI8wuToLS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# web | ||
DJANGO_SETTINGS_MODULE=hex_images.settings.development | ||
SECRET_KEY=django-insecure-@0*hp*@)v1qpq2j&!s3+2gw7!f=kh0h$9tf_e0w4prq&=q860h | ||
|
||
# postgres | ||
POSTGRES_DB=hex_images | ||
POSTGRES_USER=hex_images | ||
POSTGRES_PASSWORD=UiZz91YIW5GETnX2ifoCl8BtI8wuToLS | ||
POSTGRES_HOST=postgres | ||
POSTGRES_PORT=5432 | ||
|
||
# redis | ||
ALLOW_EMPTY_PASSWORD=no | ||
REDIS_PASSWORD=UiZz91YIW5GETdsfnX2ifoCl8BtI8wuToLS | ||
REDIS_HOST=redis | ||
REDIS_PORT=6379 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,3 @@ RUN pip install -r requirements/development.txt | |
COPY . . | ||
|
||
LABEL maintainer="Goutom Roy" version="1.0.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
services: | ||
|
||
postgres: | ||
image: postgres:15.3-alpine | ||
container_name: hex_images__postgres | ||
ports: | ||
- '5432:5432' | ||
volumes: | ||
- /var/hex_images_service/postgres-data:/var/lib/postgresql/data | ||
env_file: | ||
- .envs/.env.dev | ||
|
||
restart: always | ||
networks: | ||
- back-tier | ||
|
||
redis: | ||
image: redis:7.0.4-alpine | ||
container_name: hex_images__redis | ||
ports: | ||
- '6379:6379' | ||
volumes: | ||
- /var/hex_images_service/redis-data:/data | ||
networks: | ||
- back-tier | ||
|
||
networks: | ||
back-tier: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters