forked from octobox/octobox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (34 loc) · 876 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3'
services:
database.service.octobox.internal:
image: postgres:9.6-alpine
environment:
- POSTGRES_PASSWORD=development
volumes:
- 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:
- 3000:3000
environment:
- RAILS_ENV=development
- GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID}
- GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET}
- OCTOBOX_DATABASE_NAME=postgres
- OCTOBOX_DATABASE_USERNAME=postgres
- OCTOBOX_DATABASE_PASSWORD=development
- OCTOBOX_DATABASE_HOST=database.service.octobox.internal
- REDIS_URL=redis.service.octobox.internal
networks:
- internal
volumes:
pg_data:
networks:
internal:
driver: bridge