Skip to content

Commit af62477

Browse files
committed
✅versión 3.0.3
1 parent 337a546 commit af62477

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

docker-compose.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.2'
2-
31
services:
42
bd:
53
container_name: analitica-bd
@@ -14,20 +12,31 @@ services:
1412
volumes:
1513
- ./sql/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro
1614
- ./datos:/var/lib/postgresql/data
15+
healthcheck:
16+
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
17+
interval: 5s
18+
timeout: 5s
19+
retries: 5
1720

1821
umami:
1922
container_name: analitica-app
20-
image: ghcr.io/umami-software/umami:postgresql-latest
23+
image: ghcr.io/umami-software/umami:latest
2124
restart: unless-stopped
25+
init: true
2226
networks:
2327
- red-analitica
2428
ports:
2529
- ${PUERTO}:3000
2630
depends_on:
27-
- bd
31+
db:
32+
condition: service_healthy
2833
environment:
2934
DATABASE_URL: postgresql://${BD_USUARIO}:${BD_CLAVE}@bd:5432/${BD_NOMBRE}
30-
DATABASE_TYPE: postgresql
31-
HASH_SALT: ${SALT}
35+
APP_SECRET: ${SALT}
36+
healthcheck:
37+
test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"]
38+
interval: 5s
39+
timeout: 5s
40+
retries: 5
3241
networks:
33-
red-analitica:
42+
red-analitica:

version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.17.0
1+
v3.0.3

0 commit comments

Comments
 (0)