chore: update docker-compose configuration to use env_file for environment variables

This commit is contained in:
kastov 2025-05-09 17:15:27 +03:00
parent aa8eaea2b6
commit eee2ee3131
No known key found for this signature in database
GPG key ID: 1B27BE29057F4C90

View file

@ -1,18 +1,17 @@
services:
remnawave-subscription-page:
image: remnawave/subscription-page:latest
container_name: remnawave-subscription-page
hostname: remnawave-subscription-page
restart: always
environment:
- REMNAWAVE_PLAIN_DOMAIN=domain.com # Domain for the PANEL, not the subscription page
- SUBSCRIPTION_PAGE_PORT=3010
ports:
- '127.0.0.1:3010:3010'
networks:
- remnawave-network
remnawave-subscription-page:
image: remnawave/subscription-page:latest
container_name: remnawave-subscription-page
hostname: remnawave-subscription-page
restart: always
env_file:
- .env
ports:
- '127.0.0.1:3010:3010'
networks:
- remnawave-network
networks:
remnawave-network:
driver: bridge
external: true
remnawave-network:
driver: bridge
external: true