-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 1001 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 1001 Bytes
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
services:
bikeinfra:
image: bikeinfra:latest
ports:
- 127.0.0.1:3001:8000
volumes:
- ./OSMBicycleInfrastructure/out:/app/out
osem-data-fetcher:
image: osem-data-fetcher:latest
# command: bash -c "service cron start && python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000 && python manage.py createsuperuser --noinput"
ports:
- 127.0.0.1:3332:8000
volumes:
- ./IP-OSeM-Backend/:/app
- ./IP-OSeM-Backend/tracks:/app/tracks
environment:
- DJANGO_SETTINGS_MODULE=opensensemap_backend.settings
- DJANGO_SUPERUSER_PASSWORD=admin
- DJANGO_SUPERUSER_USERNAME=admin
restart: always
stdin_open: true
tty: true
nginx_dev:
image: nginx
ports:
- 127.0.0.1:3333:3000
volumes:
- ./nginx/dev.conf:/etc/nginx/conf.d/default.conf
depends_on:
# - bikeinfra
- osem-data-fetcher