-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (57 loc) · 1.29 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
# ___ __ ____ ____ _____ ___ _ ________ __
# / _ )/ / / / //_/ // / _ | / _ \/ |/ / __/\ \/ /
# / _ / /_/ / ,< / _ / __ |/ , _/ / _/ \ /
# /____/\____/_/|_/_//_/_/ |_/_/|_/_/|_/___/ /_/
#
# Developed by: @Bukharney
services:
myas_client:
image: public.ecr.aws/z4n6o0v4/myas/client:latest
container_name: myas_client
expose:
- 4173
networks:
- caddy_net
myas_server:
image: public.ecr.aws/z4n6o0v4/myas/server:latest
container_name: myas_server
expose:
- 8080
environment:
- INFISICAL_TOKEN=${INFISICAL_TOKEN_FOR_API}
depends_on:
myas_redis:
condition: service_healthy
networks:
- caddy_net
myas_redis:
container_name: myas_redis
image: redis:alpine
ports:
- "6379:6379"
volumes:
- ./data:/data
environment:
- REDIS_REQUIREPASS=${REDIS_PASSWORD}
healthcheck:
test:
[
"CMD",
"redis-cli",
"-h",
"localhost",
"-p",
"6379",
"-a",
"${REDIS_PASSWORD}",
"ping",
]
interval: 5s
timeout: 5s
retries: 3
command: ["redis-server", "--requirepass", "${REDIS_PASSWORD}"]
networks:
- caddy_net
networks:
caddy_net:
external: true