Skip to content

Commit

Permalink
Archive more extra services
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Sep 22, 2024
1 parent a8da6d8 commit c12e888
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 58 deletions.
58 changes: 0 additions & 58 deletions faf-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@ version: '3.7'

services:

#
# Static copy of the old phpbb3 forum (https://forums.faforever.com)
#
phpbb3-archive:
image: nginx:1.25
restart: unless-stopped
volumes:
- ./config/extra/phpbb3-archive/:/etc/nginx/conf.d/
- ./data/phpbb3-archive/:/usr/share/nginx/html/
networks:
- faf-extra
labels:
- "traefik.enable=true"
- "traefik.http.routers.faf-phpbb3-archive.rule=Host(`forums.${DOMAINNAME}`)"
- "traefik.http.routers.faf-phpbb3-archive.entryPoints=websecure"

#
# NoSQL database specifically used for nodebb
#
Expand Down Expand Up @@ -55,48 +39,6 @@ services:
- "traefik.http.routers.faf-nodebb.rule=Host(`forum.${DOMAINNAME}`)"
- "traefik.http.routers.faf-nodebb.entryPoints=websecure"


#
# New Wiki software (not the same as Wikipedia)
#
wikijs:
image: requarks/wiki:2
restart: unless-stopped
networks:
- faf-extra
env_file: ./config/extra/wikijs/wikijs.env
volumes:
- ./data/wikijs/authentication/faf-hydra:/wiki/server/modules/authentication/faf-hydra:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.wikijs.rule=Host(`wiki.${DOMAINNAME}`)"
- "traefik.http.routers.wikijs.entryPoints=websecure"
- "traefik.http.services.wikijs.loadbalancer.server.port=3000"

#
# Database used by Wiki.js
#
postgres-wikijs:
image: postgres:13-alpine
restart: unless-stopped
networks:
- faf-extra
env_file: ./config/extra/postgres-wikijs/postgres-wikijs.env
volumes:
- ./data/extra/postgres-wikijs:/var/lib/postgresql/data

#
# QAI & Dostya combined
#
qai:
image: faforever/faf-qai:main
restart: unless-stopped
networks:
- faf
env_file: ./config/extra/qai/qai.env
volumes:
- ./data/qai/Database:/app/Database

networks:
faf-extra:
driver: bridge
Expand Down
57 changes: 57 additions & 0 deletions k8s-archive/faf-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@
version: '3.7'

services:
#
# Static copy of the old phpbb3 forum (https://forums.faforever.com)
#
phpbb3-archive:
image: nginx:1.25
restart: unless-stopped
volumes:
- ./config/extra/phpbb3-archive/:/etc/nginx/conf.d/
- ./data/phpbb3-archive/:/usr/share/nginx/html/
networks:
- faf-extra
labels:
- "traefik.enable=true"
- "traefik.http.routers.faf-phpbb3-archive.rule=Host(`forums.${DOMAINNAME}`)"
- "traefik.http.routers.faf-phpbb3-archive.entryPoints=websecure"

#
# FAF unit database
Expand Down Expand Up @@ -41,6 +56,48 @@ services:
- "traefik.http.routers.faf-voting.entryPoints=websecure"
- "traefik.http.services.faf-voting.loadbalancer.server.port=3000"


#
# New Wiki software (not the same as Wikipedia)
#
wikijs:
image: requarks/wiki:2
restart: unless-stopped
networks:
- faf-extra
env_file: ./config/extra/wikijs/wikijs.env
volumes:
- ./data/wikijs/authentication/faf-hydra:/wiki/server/modules/authentication/faf-hydra:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.wikijs.rule=Host(`wiki.${DOMAINNAME}`)"
- "traefik.http.routers.wikijs.entryPoints=websecure"
- "traefik.http.services.wikijs.loadbalancer.server.port=3000"

#
# Database used by Wiki.js
#
postgres-wikijs:
image: postgres:13-alpine
restart: unless-stopped
networks:
- faf-extra
env_file: ./config/extra/postgres-wikijs/postgres-wikijs.env
volumes:
- ./data/extra/postgres-wikijs:/var/lib/postgresql/data

#
# QAI & Dostya combined
#
qai:
image: faforever/faf-qai:main
restart: unless-stopped
networks:
- faf
env_file: ./config/extra/qai/qai.env
volumes:
- ./data/qai/Database:/app/Database

networks:
faf-extra:
driver: bridge
Expand Down

0 comments on commit c12e888

Please sign in to comment.