This repository was archived by the owner on Dec 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,25 @@ services:
8585 timeout : 10s
8686 retries : 3
8787 start_period : 60s
88+ gamja :
89+ build :
90+ context : .
91+ dockerfile : web/gamja/Dockerfile
92+ container_name : gamja
93+ restart : unless-stopped
94+ ports :
95+ - ' 8080:80'
96+ environment :
97+ - TZ=UTC
98+ depends_on :
99+ ircd :
100+ condition : service_healthy
101+ healthcheck :
102+ test : ["CMD", "curl", "-f", "http://localhost/gamja/"]
103+ interval : 30s
104+ timeout : 10s
105+ retries : 3
106+ start_period : 60s
88107
89108volumes :
90109 ircd_data :
Original file line number Diff line number Diff line change 1+ # Setup phase
12FROM node:current-alpine3.22@sha256:51dbfc749ec3018c7d4bf8b9ee65299ff9a908e38918ce163b0acfcd5dd931d9 AS base
23
3- ENV GAMJA_VERSION="1.0.0-beta.11"
4-
54LABEL maintainer="AllThingsLinux IRC Infrastructure" \
65 description="UnrealIRCd WebPanel - Web-based administration interface" \
76 version="1.0.0" \
87 org.opencontainers.image.source="https://github.com/allthingslinux/irc.atl.chat"
98
9+ ENV GAMJA_VERSION="1.0.0-beta.11"
10+ ENV GAMJA_PORT=8080
11+
1012RUN addgroup -S gamja && \
1113 adduser -S -G gamja gamja
1214
15+ # Building phase
1316FROM base AS builder
1417
1518RUN mkdir -p /var/www/html && \
@@ -27,6 +30,12 @@ WORKDIR /var/www/html/gamja
2730
2831RUN npm install --omit=dev
2932
33+ # Development server phase
3034FROM base AS dev
3135
3236COPY --from=builder --chown=gamja:gamja /var/www/html/gamja/ /var/www/html/gamja
37+ COPY --chown=gamja:gamja conf/config.json /var/www/html/gamja/config.json
38+
39+ WORKDIR /var/www/html/gamja
40+
41+ EXPOSE GAMJA_PORT
You can’t perform that action at this time.
0 commit comments