-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (62 loc) · 1.61 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
version: '3'
services:
#ubuntu: # debug: docker exec -i -t ubuntu bash
# image: ubuntu
# command: tail -F anything
# networks:
# - db_nw
# - web_nw
kubegaze_ui:
container_name: kubegaze-ui
image: bmarsh13/kubegaze-ui:2.0.0
depends_on:
- postgres_db
networks:
- db_nw
- web_nw
ports:
- "443:5000"
restart: unless-stopped
environment:
- SQLALCHEMY_DATABASE_URL=postgresql://db1:db1@postgres_db/db1
- DEFAULT_PASSWORD=admin
- SETUP_DB=yes
- POSTGRES_DB=${POSTGRES_DB:-db1}
- DOC_LINK=https://bmarsh9.github.io/kubegaze/
- VERSION=2.0.0
kubegaze_poller:
container_name: kubegaze-poller
image: bmarsh13/kubegaze-poller:1.0.0
networks:
- web_nw
restart: unless-stopped
environment:
- VERSION=1.0.0
- UI_HOST=https://REPLACE_ME
- IGNORE_CERT=yes
- SLEEP_TIME=20
- TOKEN=eyJhbGciOiJIUzUxMiIsImlhdCI6MTY0MjYzMjc5NywiZXhwIjoxNjc0MTY4Nzk3fQ.eyJ0eXBlIjoicG9sbGVyIn0.3yynr0lCM1gcKVDkMSBgqKrOBzaFPr49igfvgPXmONW17PQGG9h0JOhT8czViYVWm_OO-5rZT09D-s1UAZ_M6A
- LOG_LEVEL=debug
postgres_db:
container_name: postgres_db
image: postgres
environment:
POSTGRES_USER: ${POSTGRES_USER:-db1}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-db1}
POSTGRES_DB: ${POSTGRES_DB:-db1}
PGDATA: /data/postgres
#volumes:
# - postgres:/data/postgres
#ports:
# - "5432:5432"
networks:
- db_nw
restart: unless-stopped
networks:
db_nw:
driver: bridge
web_nw:
driver: bridge
volumes:
dbdata: