This repository was archived by the owner on Jan 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (59 loc) · 1.53 KB
/
docker-compose.yml
File metadata and controls
59 lines (59 loc) · 1.53 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
version: '3'
services:
postgres:
container_name: postgres
restart: always
image: postgres
privileged: true
ports:
- '${TYPEORM_PORT}:5432'
environment:
POSTGRES_USER: ${TYPEORM_USERNAME:-postgres}
POSTGRES_PASSWORD: ${TYPEORM_PASSWORD:-password}
POSTGRES_DB: ${TYPEORM_DATABASE:-postgres}
networks:
- bridge
# graphql-engine:
# container_name: hasura
# image: hasura/graphql-engine
# ports:
# - '1111:8080'
# depends_on:
# - 'postgres'
# restart: always
# environment:
# HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:@postgres:5432/postgres
# HASURA_GRAPHQL_ENABLE_CONSOLE: 'true'
# HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
redis:
container_name: redis
restart: always
image: redis:alpine
privileged: true
command: redis-server --requirepass ${CACHE_PASSWORD} --appendonly yes
ports:
- '6379:6379'
environment:
- ALLOW_EMPTY_PASSWORD=yes
networks:
- bridge
# cli:
# image: nestjs/cli
# working_dir: /workspace
# volumes:
# - .:/workspace
# tty: true
# node:
# image: node:${NODE_VERSION}
# working_dir: /workspace
# ports:
# - ${APP_PORT}:3000
# expose:
# - '3000'
# networks:
# - bridge
# # command: apk add build-base python gcc g++
# tty: true
networks:
bridge:
driver: bridge