Skip to content

Commit 2f309ad

Browse files
committed
chore: update Docker Compose files to use environment variables for port configuration
- Modified port mappings in docker-compose files to utilize environment variables for APP_PORT and METRICS_PORT.
1 parent 0f68612 commit 2f309ad

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

docker-compose-prod-full-with-cf.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ services:
5454
hostname: remnawave
5555
restart: always
5656
ports:
57-
- '127.0.0.1:3000:3000'
57+
- '127.0.0.1:3000:${APP_PORT:-3000}'
58+
- '127.0.0.1:3001:${METRICS_PORT:-3001}'
5859
env_file:
5960
- .env
6061
networks:

docker-compose-prod-with-cf.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ services:
2929
hostname: remnawave
3030
restart: always
3131
ports:
32-
- '127.0.0.1:3000:3000'
32+
- '127.0.0.1:3000:${APP_PORT:-3000}'
33+
- '127.0.0.1:3001:${METRICS_PORT:-3001}'
3334
env_file:
3435
- .env
3536
networks:

docker-compose-prod.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ services:
3434
hostname: remnawave
3535
restart: always
3636
ports:
37-
- '127.0.0.1:3000:3000'
37+
- '127.0.0.1:3000:${APP_PORT:-3000}'
38+
- '127.0.0.1:3001:${METRICS_PORT:-3001}'
3839
env_file:
3940
- .env
4041
networks:

0 commit comments

Comments
 (0)