Skip to content

Commit 39f77fc

Browse files
authored
chore(docker): remove $LAGO_PATH from docker compose (#604)
The $LAGO_PATH variable is not needed in docker compose since all paths are evaluated from the docker-compose file location.
1 parent 45b216d commit 39f77fc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docker-compose.dev.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ services:
7171
- api
7272
build:
7373
context: ./front
74-
dockerfile: $LAGO_PATH/front/Dockerfile.dev
74+
dockerfile: Dockerfile.dev
7575
volumes:
76-
- $LAGO_PATH/front:/app:delegated
76+
- ./front:/app:delegated
7777
- front_node_modules_dev:/app/node_modules:delegated
7878
- front_dist_dev:/app/dist:delegated
7979
environment:
@@ -118,9 +118,9 @@ services:
118118
command: ["./scripts/migrate.dev.sh"]
119119
build:
120120
context: ./api
121-
dockerfile: $LAGO_PATH/api/Dockerfile.dev
121+
dockerfile: Dockerfile.dev
122122
volumes:
123-
- $LAGO_PATH/api:/app:delegated
123+
- ./api:/app:delegated
124124
env_file:
125125
- path: ./.env.development.default
126126
- path: ./.env.development
@@ -143,7 +143,7 @@ services:
143143
clickhouse:
144144
condition: service_healthy
145145
volumes:
146-
- $LAGO_PATH/api:/app:delegated
146+
- ./api:/app:delegated
147147
env_file:
148148
- path: ./.env.development.default
149149
- path: ./.env.development
@@ -175,7 +175,7 @@ services:
175175
api:
176176
condition: service_started
177177
volumes:
178-
- $LAGO_PATH/api:/app:delegated
178+
- ./api:/app:delegated
179179
env_file:
180180
- path: ./.env.development.default
181181
- path: ./.env.development
@@ -222,7 +222,7 @@ services:
222222
api:
223223
condition: service_started
224224
volumes:
225-
- $LAGO_PATH/api:/app:delegated
225+
- ./api:/app:delegated
226226
env_file:
227227
- path: ./.env.development.default
228228
- path: ./.env.development
@@ -239,7 +239,7 @@ services:
239239
restart: unless-stopped
240240
build:
241241
context: ./events-processor
242-
dockerfile: $LAGO_PATH/events-processor/Dockerfile.dev
242+
dockerfile: Dockerfile.dev
243243
depends_on:
244244
- db
245245
- redpanda
@@ -249,7 +249,7 @@ services:
249249
- path: ./.env.development
250250
required: false
251251
volumes:
252-
- $LAGO_PATH/events-processor:/app:delegated
252+
- ./events-processor:/app:delegated
253253

254254
pdf:
255255
image: getlago/lago-gotenberg:8

0 commit comments

Comments
 (0)