-
Notifications
You must be signed in to change notification settings - Fork 28
/
docker-compose.gitpod.yml
75 lines (69 loc) · 1.9 KB
/
docker-compose.gitpod.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
version: '3'
services:
shortdb:
container_name: shortdb
image: postgres:12
env_file:
- .env
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
ports:
- 5432:5432
volumes:
- ./scripts/1-init.sql:/docker-entrypoint-initdb.d/1-init.sql
- pgdata:/var/lib/postgresql/data
gql:
image: hasura/graphql-engine:v2.7.0
ports:
- 15003:8080
env_file:
- .env
environment:
HASURA_GRAPHQL_METADATA_DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@shortdb:5432/${POSTGRES_DB}
HASURA_GRAPHQL_DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@shortdb:5432/${POSTGRES_DB}
HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set to "false" to disable console
HASURA_GRAPHQL_DEV_MODE: "true"
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_ADMIN_SECRET}
depends_on:
- shortdb
restart: always
yaus-broker:
container_name: yaus-broker
image: "docker.io/bitnami/rabbitmq:latest"
environment:
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
- RABBITMQ_USERNAME=${RABBITMQ_USERNAME}
ports:
- 4369:4369
- 5672:5672
- 25672:25672
- 15672:15672
volumes:
- broker:/bitnami
shortnr-cache:
container_name: shortnr-cache
restart: always
image: redis:latest
ports:
- "6381:6379"
command: ["redis-server", "--appendonly", "yes"]
hostname: redis
volumes:
- ./redis-data:/data
- ./redis.conf:/usr/local/etc/redis/redis.conf
redis-ui:
container_name: redis-ui
image: redislabs/redisinsight:latest
restart: always
volumes:
- redisinsight:/db
ports:
- 8088:8001
volumes:
pgdata:
broker:
redisinsight:
driver: local