-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-latest.yml
68 lines (67 loc) · 1.64 KB
/
docker-compose-latest.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
services:
memphis-metadata:
image: memphisos/memphis-metadata:docker-15.2.0-debian-11-r27
healthcheck:
test: ["CMD-SHELL", "pg_isready -U memphis -p 5005"]
interval: 5s
timeout: 5s
retries: 5
networks:
- memphis
ports:
- '5005:5005'
environment:
- POSTGRESQL_USERNAME=memphis
- POSTGRESQL_PASSWORD=memphis
- POSTGRESQL_DATABASE=memphis
- POSTGRESQL_PORT_NUMBER=5005
memphis:
image: "memphisos/memphis:latest"
depends_on:
memphis-metadata:
condition: service_healthy
healthcheck:
test: wget http://127.0.0.1:9000 --spider || exit 1
interval: 10s
retries: 30
start_period: 5s
restart: on-failure
pull_policy: always
networks:
- memphis
ports:
- "9000:9000"
- "6666:6666"
- "7770:7770"
environment:
- ROOT_PASSWORD=memphis
- DOCKER_ENV=true
- USER_PASS_BASED_AUTH=true
- CONNECTION_TOKEN=memphis
- METADATA_DB_HOST=memphis-metadata
volumes:
- /var/run/docker.sock:/var/run/docker.sock
memphis-rest-gateway:
image: "memphisos/memphis-rest-gateway:latest"
depends_on:
memphis:
condition: service_healthy
restart: on-failure
pull_policy: always
networks:
- memphis
ports:
- "4444:4444"
environment:
- JWT_SECRET=JWT_TEST_PURPOSE
- REFRESH_JWT_SECRET=REFRESH_JWT_TEST_PURPOSE
- USER_PASS_BASED_AUTH=true
- CONNECTION_TOKEN=memphis
- ROOT_USER=root
- ROOT_PASSWORD=memphis
- MEMPHIS_HOST=memphis
- HTTP_PORT=4444
networks:
memphis:
ipam:
driver: default