chore(docker): add docker-compose.yml with headroom enabled by default
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
decolua
parent
d8c2298d07
commit
c7933de79c
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
services:
|
||||||
|
9router:
|
||||||
|
image: decolua/9router:latest
|
||||||
|
container_name: 9router
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "20128:20128"
|
||||||
|
volumes:
|
||||||
|
- 9router-data:/app/data
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
DATA_DIR: /app/data
|
||||||
|
PORT: "20128"
|
||||||
|
HOSTNAME: "0.0.0.0"
|
||||||
|
NODE_ENV: production
|
||||||
|
HEADROOM_URL: http://headroom:8787
|
||||||
|
depends_on:
|
||||||
|
- headroom
|
||||||
|
|
||||||
|
headroom:
|
||||||
|
image: ghcr.io/chopratejas/headroom:latest
|
||||||
|
container_name: headroom
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8787:8787"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
9router-data:
|
||||||
|
name: 9router-data
|
||||||
Reference in New Issue
Block a user