feat: docker support for easy deployment

This commit is contained in:
httpjamesm
2022-10-31 17:28:27 -04:00
parent 2c8d138cbd
commit b7ee6863e5
3 changed files with 61 additions and 1 deletions

View File

@ -0,0 +1,23 @@
# docker-compose.yml
version: '3'
services:
frontend:
container_name: libremdb
build:
context: .
network: host
ports:
- "3000:3000"
env_file: .env.local
depends_on:
- redis
restart: always
redis:
container_name: libremdb_redis
image: redis
# FOR DEBUGGING ONLY
# ports:
# - "6379:6379"
restart: always