-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev-remote-localization.yml
61 lines (57 loc) · 1.52 KB
/
docker-compose.dev-remote-localization.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
version: '3.7'
x-logging: &default-logging
driver: json-file
options:
max-size: '10m'
max-file: '5'
services:
frontend:
build:
context: .
dockerfile: ./frontend/Dockerfile.dev
logging: *default-logging
ports:
- '80:80'
- '24678:24678'
volumes:
- ./:/app
depends_on:
- backend
links:
- backend
environment:
- NODE_ENV=dev
- VITE_API_URL=http://127.0.0.1/api
- VITE_BASE_URL=http://127.0.0.1
- VITE_IPREGISTRY_API_KEY=ryy5dlbl3v8y55x4
- VITE_MODE=development
- VITE_TELEGRAM_AUTH_BOT_NAME=afisha_oauth_local_bot
backend:
build:
context: .
dockerfile: ./backend/Dockerfile.dev
logging: *default-logging
depends_on:
- mongo
links:
- mongo
environment:
- MODE=dev
- FRONTEND_URL=http://127.0.0.1
- MONGO_URI=mongodb://mongo:27017/dev
ports:
- '7080:7080'
volumes:
- ./:/app
mongo:
image: mongo:6.0
restart: unless-stopped
command: ['--bind_ip_all']
healthcheck:
test: test $$(echo "rs.initiate().ok || rs.status().ok" | mongo --quiet) -eq 1
interval: 10s
start_period: 30s
ports:
- '27020:27017'
volumes:
- /tmp/ows-events/db:/data/db