1
0
Fork 1
mirror of https://example.com synced 2024-11-22 01:06:39 +09:00
firefish/docker-compose.example.yml

50 lines
1 KiB
YAML
Raw Permalink Normal View History

2023-07-20 04:17:05 +09:00
version: "3"
services:
web:
image: registry.code.naskya.net/naskya/firefish
2023-07-20 04:17:05 +09:00
container_name: firefish_web
restart: unless-stopped
depends_on:
- db
- redis
ports:
- "3000:3000"
networks:
- calcnet
# - web
environment:
NODE_ENV: production
volumes:
- ./custom:/firefish/custom:ro
2023-07-20 04:17:05 +09:00
- ./files:/firefish/files
- ./.config:/firefish/.config:ro
2024-01-02 06:11:33 +09:00
- ./neko/volume:/firefish/neko/volume:ro
2023-07-20 04:17:05 +09:00
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
2023-07-20 04:17:05 +09:00
container_name: firefish_db
networks:
- calcnet
env_file:
- .config/docker.env
volumes:
- ./db:/var/lib/postgresql/data
- ./neko/install.sql:/docker-entrypoint-initdb.d/install.sql:ro
2023-07-20 04:17:05 +09:00
networks:
calcnet:
# web:
# external:
# name: web