Skip to content

Commit

Permalink
Update docker-compose.yml to document new runtime requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Aug 30, 2024
1 parent 2cb30ba commit 59a92fa
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
# Minifolio
# Example docker-compose.yml
# Adjust as required
#
# Usage:
# * The data directory will be set up inside `./data` on the host system
# * You should create a `.env` file to contain the `AUTH_SECRET` environment
# variable. Perhaps you could generate this using the command here:
# https://unix.stackexchange.com/a/476125/161355
#
# It is not necessary to set up other environment variables
services:
portfolio:
minifolio:
image: maddyguthridge/minifolio
hostname: minifolio
ports:
- 127.0.0.1:3000:3000/tcp
volumes:
- "./data:/home/node/app/data:rw"
- "./data:/data:rw"
environment:
DATA_REPO_PATH: "/data"
HOST: 0.0.0.0
PORT: 3000
# Set up `AUTH_SECRET` variable within `.env`
env_file: ".env"

0 comments on commit 59a92fa

Please sign in to comment.