Fix a bunch of stuff. Add docker compose files to make server config repo obsolete
This commit is contained in:
2
configs/docker/compose_files/node/Dockerfile
Normal file
2
configs/docker/compose_files/node/Dockerfile
Normal file
@ -0,0 +1,2 @@
|
||||
FROM node:latest
|
||||
CMD ["node", "index.js"]
|
@ -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
|
@ -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
|
Reference in New Issue
Block a user