-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
108 lines (100 loc) · 3.6 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: "3"
services:
# postgres:
# image: postgres:11.9-alpine
# environment:
# PGDATA: /var/lib/postgresql/data/pgdata
# POSTGRES_USER: ${POSTGRES_USER}
# POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# # Un-comment to access the db service directly
# # ports:
# # - 5432:5432
# restart: unless-stopped
# volumes:
# - db_data:/var/lib/postgresql/data
# fusionauth:
# image: fusionauth/fusionauth-app:latest
# depends_on:
# - postgres
# environment:
# DATABASE_URL: jdbc:postgresql://postgres:5432/fusionauth
# # Prior to version 1.19.0, use this deprecated name
# # DATABASE_ROOT_USER: ${POSTGRES_USER}
# DATABASE_ROOT_USERNAME: ${POSTGRES_USER}
# DATABASE_ROOT_PASSWORD: ${POSTGRES_PASSWORD}
# # Prior to version 1.19.0, use this deprecated name
# # DATABASE_USER: ${DATABASE_USER}
# DATABASE_USERNAME: ${DATABASE_USERNAME}
# DATABASE_PASSWORD: ${DATABASE_PASSWORD}
# # Prior to version 1.19.0, use this deprecated names
# # FUSIONAUTH_MEMORY: ${FUSIONAUTH_MEMORY}
# # FUSIONAUTH_SEARCH_ENGINE_TYPE: database
# # FUSIONAUTH_URL: http://fusionauth:9011
# # FUSIONAUTH_RUNTIME_MODE: development
# FUSIONAUTH_APP_MEMORY: ${FUSIONAUTH_APP_MEMORY}
# FUSIONAUTH_APP_RUNTIME_MODE: development
# FUSIONAUTH_APP_URL: http://fusionauth:9011
# SEARCH_TYPE: database
# restart: unless-stopped
# ports:
# - 9011:9011
# volumes:
# - fa_config:/usr/local/fusionauth/config
# graphql-engine:
# image: hasura/graphql-engine:v2.0.0-beta.2
# ports:
# - "8080:8080"
# depends_on:
# - postgres
# restart: always
# environment:
# HASURA_GRAPHQL_DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/postgres
# ## enable the console served by server
# HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set to "false" to disable console
# ## enable debugging mode. It is recommended to disable this in production
# HASURA_GRAPHQL_DEV_MODE: "true"
# HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
# ## uncomment next line to set an admin secret
# HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_ADMIN_SECRET}
# HASURA_GRAPHQL_JWT_SECRET: '{"type": "RS512", "jwk_url": "http://fusionauth:9011/.well-known/jwks"}'
# mongo:
# image: mongo
# ports:
# - "27017:27017"
# environment:
# MONGO_INITDB_ROOT_USERNAME: ${MONGO_USER}
# MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
# api:
# build:
# context: ./api
# depends_on:
# - mongo
# environment:
# MONGO_DATASOURCE_USER: ${MONGO_USER}
# MONGO_DATASOURCE_PASSWORD: ${MONGO_PASSWORD}
# HASURA_URL: ${HASURA_URL}
# HASURA_ADMIN_SECRET: ${HASURA_ADMIN_SECRET}
# GUPSHUP_USERNAME: ${GUPSHUP_USERNAME}
# GUPSHUP_PASSWORD: ${GUPSHUP_PASSWORD}
# GUPSHUP_PRINCIPAL_ENTITY_ID: ${GUPSHUP_PRINCIPAL_ENTITY_ID}
# SLACK_ADMIN_LOGGER_AUTH_TOKEN: ${SLACK_ADMIN_LOGGER_AUTH_TOKEN}
# SLACK_ADMIN_LOGS_CHANNEL_ID: ${SLACK_ADMIN_LOGS_CHANNEL_ID}
# ports:
# - "3001:3000"
portal:
build: .
ports:
- "3000:3000"
environment:
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL}
NEXT_PUBLIC_HASURA_URL: ${NEXT_PUBLIC_HASURA_URL}
NEXT_PUBLIC_ENCRYPTION_SECRET: ${NEXT_PUBLIC_ENCRYPTION_SECRET}
# certificate:
# build:
# context: ./certificate
# captcha-service:
# build:
# context: ./captcha-service
# volumes:
# db_data:
# fa_config: