Config files for my server. Except not my secrets
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add saltire the gays submodule and build into nginx

vielle.dev 0036eecc 8dac5f63

verified
+33 -4
+3
.gitmodules
··· 4 4 [submodule "dong-web"] 5 5 path = dong-web 6 6 url = https://tangled.sh/@vielle.dev/dong-web 7 + [submodule "saltire-the-gays"] 8 + path = saltire-the-gays 9 + url = https://tangled.sh/@vielle.dev/saltire-the-gays
+18 -3
nginx/Dockerfile
··· 6 6 ENV PATH="$PNPM_HOME:$PATH" 7 7 RUN corepack enable pnpm && corepack install -g pnpm@latest 8 8 9 - # copy dong project, install packages, and build 9 + # copy project, install packages, and build 10 10 COPY ./dong-web ./ 11 11 RUN pnpm install --prod 12 12 RUN pnpm run build 13 13 14 + FROM node:24-alpine AS saltire-the-gays 15 + WORKDIR /app 16 + 17 + # install pnpm 18 + ENV PNPM_HOME="/pnpm" 19 + ENV PATH="$PNPM_HOME:$PATH" 20 + RUN corepack enable pnpm && corepack install -g pnpm@latest 21 + 22 + # copy project, install packages, and build 23 + COPY ./saltire-the-gays ./ 24 + RUN pnpm install --prod 25 + RUN pnpm run build 26 + 14 27 # build nginx 15 28 FROM nginx:1-alpine 16 29 17 - # copy built files from dong-web to /app 18 - COPY --from=dong-web /app/dist /app/dong-web 30 + 31 + # copy built files to /app 32 + COPY --from=dong-web /app/dist /app/dong-web 33 + COPY --from=saltire-the-gays /app/dist /app/saltire-the-gays
+12 -1
nginx/templates/default.conf.template
··· 24 24 } 25 25 26 26 server { 27 + listen 80; 28 + listen [::]:80; 27 29 server_name dong.${NGINX_HOST}; 30 + 31 + location / { 32 + root /app/dong-web; 33 + } 34 + } 35 + 36 + server { 28 37 listen 80; 29 38 listen [::]:80; 39 + server_name saltire-the-gays.${NGINX_HOST}; 40 + 30 41 location / { 31 - root /app/dong-web; 42 + root /app/saltire-the-gays; 32 43 } 33 44 }