Add basic Docker config

This commit is contained in:
Matt Isenhower 2022-04-24 12:46:50 -07:00
parent f2df926c4e
commit 2a50cdd698
3 changed files with 31 additions and 0 deletions

2
.gitignore vendored
View File

@ -14,6 +14,8 @@ dist-ssr
coverage
*.local
docker-compose.override.yml
/cypress/videos/
/cypress/screenshots/

View File

@ -0,0 +1,15 @@
version: "3.8"
services:
nginx:
environment:
VIRTUAL_HOST: splatoon3.ink,www.splatoon3.ink
networks:
- default
- nginx-proxy
networks:
nginx-proxy:
external:
name: nginxproxy_default

14
docker-compose.yml Normal file
View File

@ -0,0 +1,14 @@
version: "3.8"
services:
app:
image: node:18
restart: unless-stopped
volumes:
- ./:/app
nginx:
image: nginx
restart: unless-stopped
volumes:
- ./dist:/usr/share/nginx/html:ro