You've already forked Curso-lenguaje-python
feat: add local date in docker-compose files
This commit is contained in:
@@ -6,6 +6,8 @@ services:
|
||||
ports:
|
||||
- "9090:9090"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ${PWD}/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
@@ -26,6 +28,9 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- monitoring-net
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "http://localhost:3000/api/health"]
|
||||
interval: 1m30s
|
||||
@@ -43,6 +48,9 @@ services:
|
||||
- "8080:8080"
|
||||
networks:
|
||||
- monitoring-net
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
command: ["python3", "app/main.py"]
|
||||
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user