1
0
Fork 1
mirror of https://example.com synced 2024-11-23 11:06:40 +09:00
firefish/docker-compose.yml
naskya 1838f2033c
feat: use PGroonga for full-text search
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-10-28 20:19:25 +09:00

47 lines
855 B
YAML

version: "3"
services:
web:
image: firefish
build: .
container_name: firefish_web
restart: unless-stopped
depends_on:
- db
- redis
ports:
- "3000:3000"
networks:
- calcnet
# - web
environment:
NODE_ENV: production
volumes:
- ./files:/firefish/files
- ./.config:/firefish/.config:ro
redis:
restart: unless-stopped
image: docker.io/redis:7.0-alpine
container_name: firefish_redis
networks:
- calcnet
volumes:
- ./redis:/data
db:
restart: unless-stopped
image: docker.io/groonga/pgroonga:latest-alpine-12
container_name: firefish_db
networks:
- calcnet
env_file:
- .config/docker.env
volumes:
- ./db:/var/lib/postgresql/data
networks:
calcnet:
# web:
# external:
# name: web