-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 872 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (26 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
brunnylol:
# Use master branch build, or specify a version tag like v1.0.0
image: ghcr.io/jrodal98/brunnylol:master
container_name: brunnylol
ports:
# Publish port to host - change left side to customize (e.g., "3000:8000")
- "8000:8000"
# Alternatively, use expose instead of ports for internal-only access:
# expose:
# - "8000"
environment:
# Database file path inside the container
- BRUNNYLOL_DB=/data/brunnylol.db
volumes:
# Persist database to local directory
# Change './brunnylol-data' to customize the host directory
- ./brunnylol-data:/data
restart: unless-stopped
# To run:
# docker compose up -d
#
# To customize the port, edit the ports mapping above (e.g., "3000:8000")
#
# Access at: http://localhost:8000
# Database stored in: ./brunnylol-data/brunnylol.db