-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
44 lines (42 loc) · 1.03 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
version: '3.4'
services:
backend:
build:
context: .
target: ${BACKEND_ENV}
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
APP: ${APP_GROUP}
image: ${DOCKER_USERNAME}/${DC_PREFIX}-${APP}${DC_POSTFIX}:${APP_VERSION}
container_name: ${DC_PREFIX}-${APP}${DC_POSTFIX}
environment:
- http_proxy
- https_proxy
- no_proxy
- STORAGE_BUCKET
- STORAGE_ACCESS_KEY
- STORAGE_SECRET_KEY
- BACKEND_PORT
- ES_THREADS
- ES_MAX_TRIES
- ES_CHUNK
- NO_AUTH
- TWITTER_OAUTH_ID
- TWITTER_OAUTH_SECRET
- FACEBOOK_OAUTH_ID
- FACEBOOK_OAUTH_SECRET
- GITHUB_OAUTH_ID
- GITHUB_OAUTH_SECRET
- ADMIN_PASSWORD_HASH
volumes:
- ${PROJECTS}:/${APP_GROUP}/projects/
- ${BACKEND}/log:/${APP_GROUP}/log/
- ${UPLOAD}:/${APP_GROUP}/upload/
- ${MODELS}:/${APP_GROUP}/models/
restart: always
networks:
default:
external:
name: ${DC_NETWORK}