Add StarshipOS branding and global dark theme to both XWiki instances
- Global high-contrast dark theme (#000000 bg / #ffffff fg) via cssVariablesInit.min.css override for xwiki-org and xwiki-com - StarshipOS SVG logo (Santino Shiba Inu badge + logotype) - SVG, 16px and 144px PNG favicons from the same badge design - docker-compose.yml bind-mounts all assets so changes survive restarts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres:16
|
||||
container_name: strshipos-postgres
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${POSTGRES_ROOT_PASSWORD}
|
||||
volumes:
|
||||
- ./postgres/data:/var/lib/postgresql/data
|
||||
- ./postgres/init:/docker-entrypoint-initdb.d:ro
|
||||
networks:
|
||||
- internal
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
container_name: strshipos-gitea
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- GITEA__database__DB_TYPE=postgres
|
||||
- GITEA__database__HOST=postgres:5432
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=${GITEA_DB_PASSWORD}
|
||||
- GITEA__server__DOMAIN=gitea.strshipos.com
|
||||
- GITEA__server__SSH_DOMAIN=gitea.strshipos.com
|
||||
- GITEA__server__ROOT_URL=https://gitea.strshipos.com/
|
||||
- GITEA__server__HTTP_PORT=3000
|
||||
- GITEA__server__SSH_PORT=2222
|
||||
- GITEA__server__SSH_LISTEN_PORT=22
|
||||
- GITEA__security__SECRET_KEY=${GITEA_SECRET_KEY}
|
||||
- GITEA__service__DISABLE_REGISTRATION=false
|
||||
volumes:
|
||||
- ./gitea/data:/data
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "0.0.0.0:2222:22"
|
||||
networks:
|
||||
- internal
|
||||
|
||||
nexus:
|
||||
image: sonatype/nexus3:latest
|
||||
container_name: strshipos-nexus
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- INSTALL4J_ADD_VM_PARAMS=-Xms256m -Xmx768m -XX:MaxDirectMemorySize=512m -Djava.util.prefs.userRoot=/nexus-data/jvm
|
||||
volumes:
|
||||
- ./nexus/data:/nexus-data
|
||||
ports:
|
||||
- "127.0.0.1:8081:8081"
|
||||
networks:
|
||||
- internal
|
||||
|
||||
xwiki-org:
|
||||
image: xwiki:lts-postgres-tomcat
|
||||
container_name: strshipos-xwiki-org
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- DB_HOST=postgres
|
||||
- DB_PORT=5432
|
||||
- DB_DATABASE=xwiki_org
|
||||
- DB_USER=xwiki_org
|
||||
- DB_PASSWORD=${XWIKI_ORG_DB_PASSWORD}
|
||||
- JAVA_OPTS=-Xms256m -Xmx512m
|
||||
volumes:
|
||||
- ./xwiki-org/data:/usr/local/xwiki
|
||||
- ./xwiki-org/cssVariablesInit.min.css:/usr/local/tomcat/webapps/ROOT/skins/flamingo/cssVariablesInit.min.css
|
||||
- ./logo.svg:/usr/local/tomcat/webapps/ROOT/skins/flamingo/logo.svg
|
||||
- ./favicon.svg:/usr/local/tomcat/webapps/ROOT/resources/icons/xwiki/favicon.svg
|
||||
- ./favicon16.png:/usr/local/tomcat/webapps/ROOT/resources/icons/xwiki/favicon16.png
|
||||
- ./favicon144.png:/usr/local/tomcat/webapps/ROOT/resources/icons/xwiki/favicon144.png
|
||||
ports:
|
||||
- "127.0.0.1:8090:8080"
|
||||
networks:
|
||||
- internal
|
||||
|
||||
xwiki-com:
|
||||
image: xwiki:lts-postgres-tomcat
|
||||
container_name: strshipos-xwiki-com
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- DB_HOST=postgres
|
||||
- DB_PORT=5432
|
||||
- DB_DATABASE=xwiki_com
|
||||
- DB_USER=xwiki_com
|
||||
- DB_PASSWORD=${XWIKI_COM_DB_PASSWORD}
|
||||
- JAVA_OPTS=-Xms256m -Xmx512m
|
||||
volumes:
|
||||
- ./xwiki-com/data:/usr/local/xwiki
|
||||
- ./xwiki-com/cssVariablesInit.min.css:/usr/local/tomcat/webapps/ROOT/skins/flamingo/cssVariablesInit.min.css
|
||||
- ./logo.svg:/usr/local/tomcat/webapps/ROOT/skins/flamingo/logo.svg
|
||||
- ./favicon.svg:/usr/local/tomcat/webapps/ROOT/resources/icons/xwiki/favicon.svg
|
||||
- ./favicon16.png:/usr/local/tomcat/webapps/ROOT/resources/icons/xwiki/favicon16.png
|
||||
- ./favicon144.png:/usr/local/tomcat/webapps/ROOT/resources/icons/xwiki/favicon144.png
|
||||
ports:
|
||||
- "127.0.0.1:8091:8080"
|
||||
networks:
|
||||
- internal
|
||||
|
||||
networks:
|
||||
internal:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user