feat: consolidate FreeRADIUS and web controller into a single Docker image with unified entrypoint orchestration
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Failing after 32s
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Failing after 32s
This commit is contained in:
+7
-16
@@ -15,21 +15,6 @@ services:
|
||||
- /mnt/user/appdata/radiuscontroller/pgdata:/var/lib/postgresql/data
|
||||
- /mnt/user/appdata/radiuscontroller/sql/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
|
||||
|
||||
freeradius:
|
||||
image: freeradius/freeradius-server:latest
|
||||
container_name: radius_freeradius
|
||||
restart: always
|
||||
depends_on:
|
||||
- postgres
|
||||
ports:
|
||||
- "1812:1812/udp"
|
||||
- "1813:1813/udp"
|
||||
environment:
|
||||
- DB_NAME=radius
|
||||
- DB_HOST=postgres
|
||||
- DB_USER=radius
|
||||
- DB_PASS=radpass
|
||||
|
||||
radiuscontroller:
|
||||
image: cablon.vanolst.tech/tygozwolle/radius:latest
|
||||
container_name: radius_web_controller
|
||||
@@ -38,7 +23,13 @@ services:
|
||||
- postgres
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "1812:1812/udp"
|
||||
- "1813:1813/udp"
|
||||
environment:
|
||||
- DB_HOST=postgres
|
||||
- DB_PORT=5432
|
||||
- DB_USER=radius
|
||||
- DB_PASS=radpass
|
||||
- DB_NAME=radius
|
||||
- ConnectionStrings__DefaultConnection=Host=postgres;Port=5432;Database=radius;Username=radius;Password=radpass;
|
||||
- ASPNETCORE_ENVIRONMENT=Production
|
||||
|
||||
|
||||
Reference in New Issue
Block a user