This repository was archived by the owner on Sep 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
61 lines (60 loc) · 1.8 KB
/
docker-compose.yaml
File metadata and controls
61 lines (60 loc) · 1.8 KB
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
version: '3.6'
services:
postgres:
image: postgres
restart: on-failure
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5432:5432"
graphql-engine:
image: hasura/graphql-engine:v1.0.0-beta.4
ports:
- "9090:8080"
depends_on:
- "postgres"
restart: on-failure
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:@postgres:5432/postgres
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey
HASURA_GRAPHQL_AUTH_HOOK: http://envelopes-money:3000/auth/hasura_auth
envelopes-money:
image: spiffytech/envelopes.money:beta
ports:
- "8001:3000"
depends_on:
- "graphql-engine"
restart: on-failure
environment:
GRAPHQL_ENDPOINT: http://graphql-engine:8080/v1alpha1/graphql
GRAPHQL_WSS_HOST: ws://localhost:9090/v1/graphql
HASURA_ADMIN_KEY: myadminsecretkey
COOKIE_SECRET: pleaseChangeMePleasePlease
SCRYPT_SALT: correcthorsebatterystaple
DEBUG: Envelopes.Money:*
couch:
image: couchdb
restart: on-failure
volumes:
- ./couchdb.ini:/opt/couchdb/etc/local.d/docker.ini
- couchdb_data:/opt/couchdb/data
ports:
- 5984:5984
kinto:
image: kinto/kinto-server
links:
- postgres
ports:
- "8890:8888"
environment:
#KINTO_CACHE_BACKEND: kinto.core.cache.memcached
#KINTO_CACHE_HOSTS: cache:11211 cache:11212
KINTO_STORAGE_BACKEND: kinto.core.storage.postgresql
KINTO_STORAGE_URL: postgresql://postgres:postgres@postgres/postgres
KINTO_PERMISSION_BACKEND: kinto.core.permission.postgresql
KINTO_PERMISSION_URL: postgresql://postgres:postgres@postgres/postgres
KINTO_CORS_ORIGINS: http://localhost:8080 http://penguin.linux.test:8889
volumes:
db_data:
couchdb_data: