-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.local.yml
79 lines (73 loc) · 1.6 KB
/
docker-compose.local.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3.5'
services:
postgres:
image: postgres:9.5.9
environment:
POSTGRES_PASSWORD: clark
POSTGRES_USER: clark
LANG: en_US.UTF8
LANGUAGE: en_US.UTF8
LC_ALL: en_US.UTF8
redis:
image: redis:latest
backend:
image: ${BACKEND_IMAGE}
entrypoint: bash -c
tty: true
environment:
POSTGRESQL_HOST: postgres
POSTGRESQL_PORT: 5432
POSTGRESQL_USERNAME: clark
POSTGRESQL_PASSWORD: clark
DOMAIN: 0.0.0.0:3000
SKIP_DEPENDENCIES: "true"
DROP_DB: "true"
INSIGN_BASE_URL: http://insign:8080/insign
INSIGN_HOST: insign
FRONTEND_HOST: frontend
WS_SHARED_SECRET: your_shared_secret
WKHTMLTOPDF: /usr/bin/wkhtmltopdf
volumes:
- clark-dev-sync:/app:nocopy
- ./storage/${APP_NAME}:/app/storage
- ./tmp/${APP_NAME}:/app/tmp
- ./public/uploads/${APP_NAME}:/app/public/uploads
- ./log/${APP_NAME}:/app/log
- gem_box:/gem_box
ports:
- 3000:3000
depends_on:
- postgres
- redis
- insign
- hermes
insign:
image: insign
ports:
- "8080:8080"
hermes:
image: hermes
ports:
- "8801:8801"
- "9901:9901"
environment:
WS_SHARED_SECRET: your_shared_secret
frontend:
image: ${FRONTEND_IMAGE}
entrypoint: bash -c
environment:
RAILS_HOST: http://backend:3000
APP: $APP_NAME
volumes:
- clark-dev-sync:/app:nocopy
ports:
- 4200:4200
depends_on:
- postgres
- redis
- hermes
- insign
volumes:
gem_box:
clark-dev-sync:
external: true