-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (54 loc) · 1.41 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
version: '3.2'
services:
flask_app:
build:
dockerfile: Dockerfile
context: ./flask-backend
ports:
- 5000:5000
image: mick2k1/iotflask
container_name: iotproj
environment:
- TG_TOKEN=
- OPENROUTESERVICE_KEY=
- WEATHER_KEY=
- FLASK_CONFIG=docker_local
- FAKER=True
- URL_REVERSE=https://osm.gmichele.it/reverse
- URL_get=http://127.0.0.1:5000/get/getrecord/
bot_telegram:
build:
dockerfile: Dockerfile
context: ./telegram_bot
image: 267759/botflask:1.0
container_name: botflask
environment:
- TG_TOKEN=5887797061:AAEvYrnkdgFwS5nKmfoSJXNck-kzefUFEC0
- URL_db=http://iotproj:5000/db/
- URL_get=http://iotproj:5000/get/
- URL_set=http://iotproj:5000/set/
- URL_check=http://iotproj:5000/check/
- URL_map=http://iotproj:5000/map/getmap/
nextjs_app:
image: mick2k1/iot-nextjs-fe
profiles:
- donotstart
container_name: nextjs_app
ports:
- "3000:3000"
nominatim:
container_name: nominatim
image: mediagis/nominatim:4.2
restart: always
profiles:
- donotstart
ports:
- "8080:8080"
environment:
PBF_URL: https://gmichele.it/modena.osm.pbf
NOMINATIM_PASSWORD: password
volumes:
- ~/nominatim/nominatim-data:/var/lib/postgresql/14/main
shm_size: 256mb
volumes:
nominatim-data: