mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-27 17:38:11 +03:00
* temporary dvctr * start of work * fix: timeouts in windows * fish? * feat: better, working stuff * refactor: rename database-seeds to seeds/ * better * fdsaf * feat: don't let our container get owned by root * fix: better user handling * feat: falling asleep at my desk i yield to you what i have done * feat: autoadminify * docs: denote trickshot * feat: open in browser on launch * better seeds workings... * fix: dont kill shell * docs: mention dev/debs * fix: whoops * fix: make seeds load within the century * feat: rest of the containerisation * feat: new alias * style: fix linter errors * fix: bad call * fix: better justfile
38 lines
810 B
YAML
38 lines
810 B
YAML
services:
|
|
mongo:
|
|
container_name: mongo
|
|
image: mongo:5
|
|
restart: unless-stopped
|
|
ports:
|
|
- "27017:27017"
|
|
volumes:
|
|
- tachi-volume:/data/db
|
|
redis:
|
|
container_name: redis
|
|
command: redis-server --save 60 1 --loglevel warning
|
|
image: redis:6
|
|
restart: unless-stopped
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- tachi-redis:/data
|
|
tachi-dev:
|
|
user: "1000:1000"
|
|
tty: true
|
|
container_name: tachi-dev
|
|
build:
|
|
dockerfile: Dockerfile.dev
|
|
ports:
|
|
- "8080:8080" # server
|
|
- "3000:3000" # client
|
|
- "3001:3001" # docs
|
|
volumes:
|
|
- ./:/tachi
|
|
# don't let pnpm's node_modules linkery bleed out of its container
|
|
- /tachi/node_modules/
|
|
- /tachi/.pnpm-store
|
|
volumes:
|
|
tachi-volume:
|
|
tachi-redis:
|
|
tachi-logs:
|