Browse Source
Use port numbers from environment variables in docker-compose.dev.yml (#2406)
pull/2429/head
Prashanth Mohan
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
docker/docker-compose.dev.yml
|
@ -7,7 +7,7 @@ services: |
|
|
env_file: |
|
|
env_file: |
|
|
- ../.env |
|
|
- ../.env |
|
|
ports: |
|
|
ports: |
|
|
- 5432:5432 |
|
|
- ${POSTGRES_PORT:-5432}:5432 |
|
|
volumes: |
|
|
volumes: |
|
|
- postgres:/var/lib/postgresql/data |
|
|
- postgres:/var/lib/postgresql/data |
|
|
redis: |
|
|
redis: |
|
@ -15,7 +15,7 @@ services: |
|
|
container_name: redis |
|
|
container_name: redis |
|
|
restart: unless-stopped |
|
|
restart: unless-stopped |
|
|
ports: |
|
|
ports: |
|
|
- 6379:6379 |
|
|
- ${REDIS_PORT:-6379}:6379 |
|
|
|
|
|
|
|
|
volumes: |
|
|
volumes: |
|
|
postgres: |
|
|
postgres: |
|
|