-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
67 lines (67 loc) · 1.89 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
version: '3.7'
services:
db:
build:
context: ./redis
image: ${DOCKER_REGISTRY:-dccn}/redis
user: root
volumes:
- ${STREAMER_DB_DATA_VOL}:/data
service:
build:
context: ./streamer
image: ${DOCKER_REGISTRY:-dccn}/streamer:${DOCKER_IMAGE_TAG:-latest}
user: root
environment:
- REDIS_HOST=db
- REDIS_PORT=6379
- STREAMER_SERVICE_PORT=${STREAMER_SERVICE_PORT:-3001}
volumes:
- ${STREAMER_SERVICE_LOG_VOL}:/opt/streamer/log
- ${STREAMER_SERVICE_CRON_VOL}:/cron
- ${HOME_VOL}:/home:ro
- ${PROJECT_VOL}:/project
- ${PROJECT_CEPHFS_VOL}:/project_cephfs
depends_on:
- db
ftp:
build:
context: ./streamer-ftp
image: ${DOCKER_REGISTRY:-dccn}/streamer-ftp:${DOCKER_IMAGE_TAG:-latest}
ports:
- ${STREAMER_FTP_EXTERNAL_PORT:-2222}:22
command: ${STREAMER_FTP_USERNAME:-streamer}:${STREAMER_FTP_PASSWORD:-streamer}:${STREAMER_FTP_UID:-1010}:${STREAMER_FTP_GID:-1010}:project
ui:
build:
context: ./streamer-ui
image: ${DOCKER_REGISTRY:-dccn}/streamer-ui:${DOCKER_IMAGE_TAG:-latest}
environment:
STREAMER_UI_AUTH_SERVER:
STREAMER_UI_AUTH_CLIENT_ID:
STREAMER_UI_AUTH_CLIENT_SECRET:
STREAMER_UI_PDB_VERSION:
STREAMER_UI_EXTERNAL_PORT:
STREAMER_UI_BUFFER_DIR:
STREAMER_URL_PREFIX:
STREAMER_UI_DB_HOST:
STREAMER_UI_DB_PORT:
STREAMER_UI_DB_USER:
STREAMER_UI_DB_PASSWORD:
STREAMER_UI_DB_NAME:
STREAMER_UI_DEBUG:
depends_on:
- service
- ui-db
ui-db:
image: postgres:12-alpine
environment:
POSTGRES_HOST:
POSTGRES_PORT:
POSTGRES_USER:
POSTGRES_PASSWORD:
POSTGRES_DATABASE:
GRAFANA_USER:
GRAFANA_PASSWORD:
volumes:
- ${STREAMER_UI_DB_INIT_VOL}/01-initialize-database.sh:/docker-entrypoint-initdb.d/01-initialize-database.sh:ro
restart: always