ExpressJS version for Ramco Geek Server
859
This is a docker container to integrate with Ramco HCM and a third party facial recognition server for time and attendance.
version: "3"
services:
# Central memcached server to cache data between multiple instances
memcached:
container_name: geek-memcached
image: memcached
networks:
- internal-network
expose:
- "11211"
command: memcached -v
# Reverse proxy into the server
rproxy:
container_name: geek-loadbalancer
image: nginx
networks:
- internal-network
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./logs:/etc/nginx/logs
ports:
- "4000:4000"
depends_on:
- geek
# The main thing
geek:
image: ramcoilab/geek-expressjs
networks:
- internal-network
expose:
- 8080
environment:
- PORT=8080
- NODE_ENV=development
- CONFIG_DIR=/home/geek/config
- LOG_DIR=/home/geek/logs
- MEMCACHED_URL=geek-memcached:11211
volumes:
- ./config:/home/geek/config
- ./logs:/home/geek/logs
- ./photos:/home/geek/photos
#- ./customs:/home/geek/customs # you could place your extension scripts here if needed
networks:
internal-network:
events {
worker_connections 1000;
}
http {
server {
access_log /etc/nginx/logs/nginx_access.log;
error_log /etc/nginx/logs/nginx_error.log;
listen 4000;
location / {
proxy_pass http://geek:8080;
}
}
}
Content type
Image
Digest
Size
127.7 MB
Last updated
over 6 years ago
docker pull ramcoilab/geek-expressjs