forked from go-park-mail-ru/2021_2_MonKeys
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (66 loc) · 1.39 KB
/
docker-compose.yml
File metadata and controls
82 lines (66 loc) · 1.39 KB
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
version: "3"
volumes:
dbbackups:
postgis-data:
tarantool:
services:
main_service:
image: main_service
ports:
- "8000:8000"
volumes:
- $PWD/media:/dripapp/media
depends_on:
- tarantool
- postgres
restart: on-failure
environment:
DRIPAPP: "LOCAL"
chat_service:
image: chat_service
ports:
- "8001:8001"
volumes:
- $PWD/media:/dripapp/media
depends_on:
- tarantool
- postgres
restart: on-failure
environment:
DRIPAPP: "LOCAL"
auth_service:
image: auth_service
ports:
- "8002:8002"
- "8003:8003"
volumes:
- $PWD/media:/dripapp/media
depends_on:
- tarantool
- postgres
restart: on-failure
environment:
DRIPAPP: "LOCAL"
tarantool:
image: drip_tarantool
ports:
- "3301:3301"
volumes:
- tarantool:/var/lib/tarantool
# - $PWD/docker/tarantool_scripts/dripapp.lua:/opt/tarantool/dripapp.lua
postgres:
image: postgres:latest
volumes:
- postgis-data:/var/lib/postgresql
- $PWD/docker/postgres_scripts/:/docker-entrypoint-initdb.d/
# env_file:
# - envs/postgres.env
environment:
POSTGRES_DB: "drip"
POSTGRES_USER: "admin"
POSTGRES_PASSWORD: "lolkek"
ports:
- "5432:5432"
restart: on-failure
healthcheck:
test: "exit 0"