-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (35 loc) · 866 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (35 loc) · 866 Bytes
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
37
38
39
version: '3.5'
services:
db:
container_name: falko-database
image: postgres:9.6
networks:
- falko-backend
api:
container_name: falko-api
image: alaxalves/api:1.7
command: ["sh", "scripts/sh/start-dev.sh"]
environment:
- PG_USERNAME=postgres
- PG_DATABASE=falko-dev-db
- PG_HOST=falko-database
- PG_PORT=5432
- RAILS_ENV=development
- CLIENT_ID=1254ef5e2765397c4fb4
- CLIENT_SECRET=c566f60e74a49bd8e664033e2978a31d3b39748d
- PASSWORD_RESET_ADDRESS=http://localhost:8080/#/users/resetpassword?token=<token>
volumes:
- .:/Falko-2017.2-BackEnd
- bundle-cache:/bundle-cache
networks:
- falko-backend
ports:
- 3000:3000
depends_on:
- db
volumes:
bundle-cache:
name: bundle-cache
networks:
falko-backend:
name: falko-backend