mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
61 lines
1.1 KiB
YAML
61 lines
1.1 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
web:
|
|
image: docker.io/thatonecalculator/calckey
|
|
container_name: calckey_web
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
- meilisearch
|
|
ports:
|
|
- "3000:3000"
|
|
networks:
|
|
- calcnet
|
|
# - web
|
|
environment:
|
|
NODE_ENV: production
|
|
volumes:
|
|
- ./files:/calckey/files
|
|
- ./.config:/calckey/.config:ro
|
|
|
|
redis:
|
|
restart: unless-stopped
|
|
image: docker.io/redis:7.0-alpine
|
|
container_name: calckey_redis
|
|
networks:
|
|
- calcnet
|
|
volumes:
|
|
- ./redis:/data
|
|
|
|
db:
|
|
restart: unless-stopped
|
|
image: docker.io/postgres:12.2-alpine
|
|
container_name: calckey_db
|
|
networks:
|
|
- calcnet
|
|
env_file:
|
|
- .config/docker.env
|
|
volumes:
|
|
- ./db:/var/lib/postgresql/data
|
|
|
|
meilisearch:
|
|
container_name: meilisearch
|
|
image: getmeili/meilisearch:v1.1.1
|
|
environment:
|
|
- MEILI_ENV=${MEILI_ENV:-development}
|
|
ports:
|
|
- "7700:7700"
|
|
networks:
|
|
- calcnet
|
|
volumes:
|
|
- ./meili_data:/meili_data
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
calcnet:
|
|
# web:
|
|
# external:
|
|
# name: web
|