-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (55 loc) · 1.4 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3"
services:
gamma-db:
image: postgres:10
environment:
POSTGRES_USER: user
POSTGRES_DB: postgres
POSTGRES_PASSWORD: password
networks:
- gamma-internal
gamma-frontend:
image: cthit/gamma-frontend:development
environment:
HTTP_PROXY: http://gamma-backend:8081
ports:
- 3000:3000
networks:
- gamma-internal
gamma-backend:
# Starta med cthit/gamma-backend:development för att få in mock data
# Byt sedan till cthit/gamma-backend för att få rätt APIer
image: cthit/gamma-backend
environment:
# Default admin user name = admin
# Default admin password = password
DB_USER: user
DB_PASSWORD: password
DB_HOST: gamma-db
DB_PORT: 5432
DB_NAME: postgres
REDIS_HOST: redis
REDIS_PASSWORD: ""
SERVER_PORT: 8081
FRONTEND_REDIRECT_URI: http://localhost:3000/login
SUCCESSFUL_LOGIN: http://localhost:3000
CORS_ALLOWED_ORIGIN: http://localhost:3000
COOKIE_DOMAIN: localhost
PRODUCTION: "false"
IS_MOCKING_CLIENT: "true"
DEFAULT_REDIRECT_URI: http://localhost:3001/api/authenticate
volumes:
- ./mock.json:/mock/mock.json
ports:
- 8081:8081
networks:
- gamma
- gamma-internal
redis:
image: redis:5.0
networks:
- gamma-internal
networks:
gamma:
external: True
gamma-internal: