зеркало из https://github.com/github/octobox.git
Add redis to docker-compose configs
This commit is contained in:
Родитель
aa1bc2af3b
Коммит
9a863c019b
|
@ -4,6 +4,8 @@ services:
|
|||
image: postgres:9.6-alpine
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=development
|
||||
redis.service.octobox.internal:
|
||||
image: redis:3.2-alpine
|
||||
app:
|
||||
image: octobox
|
||||
build:
|
||||
|
@ -18,4 +20,5 @@ services:
|
|||
- OCTOBOX_DATABASE_NAME=postgres
|
||||
- OCTOBOX_DATABASE_USERNAME=postgres
|
||||
- OCTOBOX_DATABASE_PASSWORD=development
|
||||
- OCTOBOX_DATABASE_HOST=database.service.octobox.internal
|
||||
- OCTOBOX_DATABASE_HOST=database.service.octobox.internal
|
||||
- REDIS_URL=redis.service.octobox.internal
|
||||
|
|
|
@ -8,6 +8,10 @@ services:
|
|||
- pg_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- internal
|
||||
redis.service.octobox.internal:
|
||||
image: redis:3.2-alpine
|
||||
networks:
|
||||
- internal
|
||||
app:
|
||||
image: octoboxio/octobox:latest
|
||||
ports:
|
||||
|
@ -20,6 +24,7 @@ services:
|
|||
- OCTOBOX_DATABASE_USERNAME=postgres
|
||||
- OCTOBOX_DATABASE_PASSWORD=development
|
||||
- OCTOBOX_DATABASE_HOST=database.service.octobox.internal
|
||||
- REDIS_URL=redis.service.octobox.internal
|
||||
networks:
|
||||
- internal
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче