-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 1.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (29 loc) · 1.13 KB
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
28
29
30
# Minimal compose file for running Pixcode from the published image or a
# local build. `docker compose up -d` after `docker login` is enough.
services:
pixcode:
# Pin to a concrete tag in production — :latest is convenient for dev but
# makes rollbacks lossy.
image: pixelbytesoftware/pixcode:latest
container_name: pixcode
restart: unless-stopped
ports:
- "3001:3001"
environment:
# SERVER_PORT mirrors what the backend binds inside the container; keep
# this aligned with the port in EXPOSE/HEALTHCHECK if you change it.
SERVER_PORT: "3001"
HOST: "0.0.0.0"
# Pass TZ so logs/auth timestamps match the host — optional but nicer
# in support threads.
TZ: "${TZ:-UTC}"
volumes:
# Preserves the SQLite auth DB, the provider-CLI install sandbox, and
# anything else stored under ~/.pixcode.
- pixcode-data:/root/.pixcode
# Expose the host's home directory read-write if you want Pixcode to
# operate on your real projects. Omit this line for a fully sandboxed
# deployment.
# - ${HOME:-/home/you}:/projects
volumes:
pixcode-data: