-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
125 lines (118 loc) · 2.84 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: "3"
services:
redis_pubsub:
build:
context: .
dockerfile: Dockerfile.localtest
image: o2imsdms
depends_on:
- postgres
- redis
environment:
- API_HOST=api
- DB_HOST=postgres
- DB_PASSWORD=o2ims123
- REDIS_HOST=redis
- PYTHONDONTWRITEBYTECODE=1
- OS_AUTH_URL=${OS_AUTH_URL}
- OS_USERNAME=${OS_USERNAME}
- OS_PASSWORD=${OS_PASSWORD}
- LOGGING_CONFIG_LEVEL=DEBUG
- CGTS_INSECURE_SSL=1
volumes:
- ./configs:/configs
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
- ./o2app:/o2app
- ./helm_sdk:/helm_sdk
- ./tests:/tests
entrypoint:
- /bin/sh
- /tests/o2app-redis-entry.sh
# helm_cli:
# image: o2imsdms
# depends_on:
# - watcher
# environment:
# - LOGGING_CONFIG_LEVEL=DEBUG
# - HELM_USER_PASSWD=St8rlingX*
# volumes:
# - ./share:/share
# - ./helm_sdk:/helm_sdk
# - ./tests:/tests
# entrypoint:
# - /bin/sh
# - /tests/o2app-helmcli-entry.sh
# ports:
# - "10022:22"
api:
image: o2imsdms
depends_on:
- redis_pubsub
environment:
- DB_HOST=postgres
- DB_PASSWORD=o2ims123
- API_HOST_EXTERNAL_FLOATING=${API_HOST_EXTERNAL_FLOATING}
- REDIS_HOST=redis
- PYTHONDONTWRITEBYTECODE=1
- FLASK_APP=/o2app/entrypoints/flask_application.py
- FLASK_DEBUG=1
- PYTHONUNBUFFERED=1
- OS_AUTH_URL=${OS_AUTH_URL}
- OS_USERNAME=${OS_USERNAME}
- OS_PASSWORD=${OS_PASSWORD}
- LOGGING_CONFIG_LEVEL=DEBUG
- HELM_USER_PASSWD=St8rlingX*
- CGTS_INSECURE_SSL=1
volumes:
- ./configs:/configs
- ./share:/share
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
- ./o2app:/o2app
- ./helm_sdk:/helm_sdk
- ./tests:/tests
entrypoint:
- /bin/sh
- /tests/o2app-api-entry.sh
ports:
- "5005:80"
watcher:
image: o2imsdms
depends_on:
- redis_pubsub
environment:
- API_HOST_EXTERNAL_FLOATING=${API_HOST_EXTERNAL_FLOATING}
- DB_HOST=postgres
- DB_PASSWORD=o2ims123
- REDIS_HOST=redis
- PYTHONDONTWRITEBYTECODE=1
- OS_AUTH_URL=${OS_AUTH_URL}
- OS_USERNAME=${OS_USERNAME}
- OS_PASSWORD=${OS_PASSWORD}
- LOGGING_CONFIG_LEVEL=DEBUG
- CGTS_INSECURE_SSL=1
volumes:
- ./configs:/configs
- ./o2ims:/o2ims
- ./o2dms:/o2dms
- ./o2common:/o2common
- ./o2app:/o2app
- ./helm_sdk:/helm_sdk
- ./tests:/tests
entrypoint:
- /bin/sh
- /tests/o2app-watcher-entry.sh
postgres:
image: postgres:9.6
environment:
- POSTGRES_USER=o2ims
- POSTGRES_PASSWORD=o2ims123
ports:
- "54321:5432"
redis:
image: redis:alpine
ports:
- "63791:6379"