forked from ign-poc-extraction-pcrs/lidarhd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (33 loc) · 986 Bytes
/
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
version: '3'
services:
demo-lidarhd:
container_name: demo-lidarhd
command: python3 run_prod.py
build:
context: "."
dockerfile: Dockerfile
args:
- http_proxy
- https_proxy
environment:
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTPS_PROXY}
- ACCESS_KEY_ID_RO=${ACCESS_KEY_ID_RO}
- SECRET_ACCESS_KEY_RO=${SECRET_ACCESS_KEY_RO}
- ACCESS_KEY_ID_RW=${ACCESS_KEY_ID_RW}
- SECRET_ACCESS_KEY_RW=${SECRET_ACCESS_KEY_RW}
- DEFAULT_BUCKET=${DEFAULT_BUCKET}
- ENDPOINT=${ENDPOINT}
- REGION=${REGION}
- HOST_SERVEUR=${HOST_SERVEUR}
ports:
- '5000:5000'
restart: on-failure
# CronJob en cible : https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/
# cron-lidarhd:
# container_name: cron-lidarhd
# command: python3 /usr/src/app/dalle_lidar.py
# build:
# context: "."
# dockerfile: Dockerfile
# restart: on-failure