forked from databrary/databrary.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
77 lines (67 loc) · 2.18 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: '3.7'
services:
postgres:
image: postgres:9.6
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- ${POSTGRES_PORT}:5432
restart: always
volumes:
- ./docker-scripts:/docker-entrypoint-initdb.d
- postgres_data:/var/lib/postgresql/data
graphql-engine:
image: hasura/graphql-engine:v1.0.0
ports:
- ${HASURA_PORT}:8080
restart: always
environment:
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_SECRET}
HASURA_GRAPHQL_DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT}/${HASURA_DATABASE}
HASURA_GRAPHQL_ENABLE_CONSOLE: ${HASURA_ENABLE_CONSOLE}
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_AUTH_HOOK: http://host.docker.internal:8000/${HASURA_WEBHOOK}
minio:
image: minio/minio:RELEASE.2019-10-12T01-39-57Z
volumes:
- file_data:/data
- minio_events:/events
ports:
- "9000:9000"
command: server /data
environment:
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
# keycloak:
# image: jboss/keycloak
# environment:
# DB_VENDOR: POSTGRES
# DB_ADDR: postgres
# DB_DATABASE: ${KEYCLOAK_DATABASE}
# DB_USER: ${POSTGRES_USER}
# DB_SCHEMA: public
# DB_PASSWORD: ${POSTGRES_PASSWORD}
# KEYCLOAK_USER: ${KEYCLOAK_USERNAME}
# KEYCLOAK_PASSWORD: ${KEYCLOAK_PASSWORD}
# # Uncomment the line below if you want to specify JDBC parameters. The parameter below is just an example, and it shouldn't be used in production without knowledge. It is highly recommended that you read the PostgreSQL JDBC driver documentation in order to use it.
# #JDBC_PARAMS: "ssl=true"
# ports:
# - ${KEYCLOAK_PORT}:8080
# depends_on:
# - postgres
# restart: always
# dejavu:
# image: appbaseio/dejavu
# restart: unless-stopped
# networks:
# - search
# ports:
# - 1358:1358
# depends_on:
# - search
volumes:
minio_events:
postgres_data:
file_data: