Skip to content

Commit 2df61e4

Browse files
committed
fix(docker-compose): add TEMPO_URL enviroment
1 parent ff5a3dd commit 2df61e4

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

docker-compose.dev.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ services:
77
- .:/app
88
command: sleep infinity
99
environment:
10-
- DB_URL=${DB_URL}
11-
- DB_USER=${DB_USER}
12-
- DB_PASSWORD=${DB_PASSWORD}
13-
- CACHE_URL=${CACHE_URL}
14-
- CACHE_PORT=${CACHE_PORT}
15-
- TEMPO_URL=${TEMPO_URL}
10+
DB_URL: ${DB_URL}
11+
DB_USER: ${DB_USER}
12+
DB_PASSWORD: ${DB_PASSWORD}
13+
CACHE_URL: ${CACHE_URL}
14+
CACHE_PORT: ${CACHE_PORT}
15+
TEMPO_URL: ${TEMPO_URL}
1616
ports:
17-
- "8080:8080"
17+
- "8080:8080"
1818
depends_on:
1919
database:
2020
condition: service_healthy

docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
DB_PASSWORD: ${DB_PASSWORD}
1616
CACHE_URL: ${CACHE_URL}
1717
CACHE_PORT: ${CACHE_PORT}
18+
TEMPO_URL: ${TEMPO_URL}
1819
depends_on:
1920
database:
2021
condition: service_healthy
@@ -35,9 +36,9 @@ services:
3536
timeout: 5s
3637
retries: 5
3738
networks:
38-
- spring-network
39+
- spring-network
3940
volumes:
40-
- database-volume:/var/lib/postgresql/data
41+
- database-volume:/var/lib/postgresql/data
4142
redis:
4243
image: redis:8.0-M04-alpine3.21
4344
restart: unless-stopped
@@ -52,4 +53,4 @@ networks:
5253
spring-network:
5354
driver: bridge
5455
volumes:
55-
database-volume:
56+
database-volume:

0 commit comments

Comments
 (0)