Skip to content

Commit

Permalink
change environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dori-dev committed Apr 14, 2023
1 parent 436627e commit 4289f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cd social-network

```
mkdir -p volumes/db volumes/cache volumes/logs
sudo chmod -R 777 ./volumes/cache/
```

## Set Environment Variable
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- 8000
env_file: src/.env
environment:
POSTGRES_HOST: db
- POSTGRES_HOST=db
volumes:
- type: 'bind'
source: './src'
Expand Down Expand Up @@ -56,7 +56,5 @@ services:
expose:
- 6379
env_file: src/.env
environment:
ENABLE_OVERCOMMIT_MEMORY: true
volumes:
- ./volumes/cache/:/bitnami/redis/data

0 comments on commit 4289f26

Please sign in to comment.