123456789101112131415161718192021222324252627282930313233343536373839404142 |
- version: '3.8'
- services:
- api:
- build: ./api
- entrypoint: ./runservice.dev.sh
- command: run
- ports:
- - "8000:5000"
- environment:
- - BAANGT_DATAFILE_HOST=172.17.0.1:5050
- - REDIS_URL=redis://172.17.0.1:6380
- - FLASK_APP=app.py
- - FLASK_DEBUG=1
- - FLASK_RUN_HOST=0.0.0.0
- - FLASK_RUN_PORT=5000
- depends_on:
- - rd
- - rq
- datafiles:
- build: ./files
- entrypoint: ./runservice.dev.sh
- ports:
- - "5050:5000"
- environment:
- - FLASK_APP=app.py
- - FLASK_DEBUG=1
- - FLASK_RUN_HOST=0.0.0.0
- - FLASK_RUN_PORT=5000
- rq:
- build: ./api
- entrypoint: ./runservice.rq.sh
- environment:
- - BAANGT_DATAFILE_HOST=172.17.0.1:5050
- - REDIS_URL=redis://172.17.0.1:6380
- depends_on:
- - rd
- rd:
- image: redis:5-alpine
- ports:
- - "6380:6379"
|