adding docker deployment

This commit is contained in:
evanpelle
2024-08-13 07:34:07 -07:00
parent cdb7adaa82
commit 7af66be06d
4 changed files with 61 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
version: '3'
services:
game-server:
build: .
ports:
- "3000:3000"
environment:
- NODE_ENV=production
nginx:
image: nginx:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
- game-server