Skip to content

Commit

Permalink
am doing docker now
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Nov 21, 2024
1 parent b79a68a commit 35cdc9e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
*.log*
.nuxt
.nitro
.cache
.output
.data
.env
dist
18 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
services:
website:
container_name: probablyjassin.github.io
image: ghcr.io/probablyjassin/probablyjassin.github.io
restart: unless-stopped
ports:
- "3000"
volumes:
- ./content:/app/content
#env_file:
# - .env

watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 120 --cleanup # every 2 minutes
restart: unless-stopped

0 comments on commit 35cdc9e

Please sign in to comment.