Fix a bunch of stuff. Add docker compose files to make server config repo obsolete

This commit is contained in:
2024-07-21 22:04:13 -05:00
parent 060d736b24
commit 4c58bc45d0
33 changed files with 872 additions and 51 deletions

View File

@ -0,0 +1,2 @@
FROM node:latest
CMD ["node", "index.js"]

View File

@ -0,0 +1,22 @@
version: '3'
services:
image_hoster:
image: node_indexjs:latest
container_name: image_hoster
hostname: image_hoster.gib
domainname: img.${DOMAIN}
networks:
${NETWORK_NAME}:
ipv4_address: ${IP_PREFIX}.28
ports:
- 3000:3000
env_file:
- ../../user_variables.env
volumes:
- ${DAS_DIR}/Web/image_hoster:/home/node/app
tty: true
restart: unless-stopped
networks:
${NETWORK_NAME}:
external: true

View File

@ -0,0 +1,22 @@
version: '3'
services:
techtracker:
image: node_indexjs:latest
container_name: techtracker
hostname: techtracker.gib
domainname: techtracker.${DOMAIN}
networks:
${NETWORK_NAME}:
ipv4_address: ${IP_PREFIX}.27
ports:
- 3000:3000
env_file:
- ../../user_variables.env
volumes:
- ${DAS_DIR}/Web/techtracker:/home/node/app
tty: true
restart: unless-stopped
networks:
${NETWORK_NAME}:
external: true