2023-07-20 04:17:05 +09:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
2023-11-12 05:31:20 +09:00
|
|
|
image: docker.io/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:
|
2023-11-19 14:12:25 +09:00
|
|
|
- ./assets:/firefish/custom/assets
|
2023-07-20 04:17:05 +09:00
|
|
|
- ./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
|
2023-10-28 20:19:25 +09:00
|
|
|
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
|
|
|
|
|
|
|
|
networks:
|
|
|
|
calcnet:
|
|
|
|
# web:
|
|
|
|
# external:
|
|
|
|
# name: web
|