Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Commit f23c216

Browse files
committed
chore(docker): update Docker configuration and documentation
- Modified .dockerignore to retain the start-webpanel.sh script for Docker builds. - Updated docker-compose.yml to adjust the build context and Dockerfile path for the webpanel service. - Enhanced Dockerfile to include the start-webpanel.sh script with proper permissions. - Revised README.md to include new Make commands for easier project management and updated WebPanel description.
1 parent 463356c commit f23c216

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Dockerfile*
1515

1616
# Development and CI files
1717
scripts/
18+
# Keep webpanel startup script for Docker build
19+
!scripts/start-webpanel.sh
1820
renovate.json
1921
.github/
2022
.vscode/

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ COPY --chown=ircd:ircd scripts/start-services.sh /usr/local/bin/start-services
142142
# Copy module management scripts
143143
COPY --chown=ircd:ircd scripts/manage-modules.sh /usr/local/bin/manage-modules
144144
COPY --chown=ircd:ircd scripts/module-config.sh /usr/local/bin/module-config
145+
COPY --chown=ircd:ircd scripts/start-webpanel.sh /usr/local/bin/start-webpanel
145146

146147
# Set proper permissions and create necessary symlinks
147148
RUN chmod 755 /usr/local/atheme/bin/* /usr/local/unrealircd/bin/* && \

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This project provides a complete, production-ready IRC infrastructure with:
4040
### **Core Services**
4141
- **UnrealIRCd 6.1.10**: Modern IRC server with contrib modules support
4242
- **Atheme 7.2.12**: IRC services (NickServ, ChanServ, OperServ, etc.)
43-
- **WebPanel**: Web-based administration interface
43+
- **WebPanel**: Web-based administration interface (Nginx + PHP-FPM)
4444
- **KiwiIRC**: Web-based IRC client
4545

4646
### **Advanced Features**
@@ -65,7 +65,28 @@ This project provides a complete, production-ready IRC infrastructure with:
6565

6666
## Quick Start
6767

68-
### Build the Image
68+
### Using Make (Recommended)
69+
```bash
70+
# Show all available commands
71+
make help
72+
73+
# Quick start (build and run everything)
74+
make quick-start
75+
76+
# Start services
77+
make up
78+
79+
# Check status
80+
make status
81+
82+
# View logs
83+
make logs
84+
85+
# Stop services
86+
make down
87+
```
88+
89+
### Using Scripts Directly
6990
```bash
7091
# Build with default settings
7192
./scripts/build.sh

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ services:
5959

6060
webpanel:
6161
build:
62-
context: ./web/webpanel
63-
dockerfile: Dockerfile
62+
context: .
63+
dockerfile: web/webpanel/Dockerfile
6464
container_name: webpanel
6565
restart: unless-stopped
6666
ports:

0 commit comments

Comments
 (0)