1
0
Fork 1
mirror of https://example.com synced 2024-11-30 15:36:38 +09:00
firefish/docker-compose.yml
2022-12-18 01:04:39 +01:00

55 lines
1 KiB
YAML

version: "3"
services:
web:
image: docker.io/thatonecalculator/calckey
restart: unless-stopped
depends_on:
- db
- redis
# - es
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
networks:
- calcnet
volumes:
- ./redis:/data
db:
restart: unless-stopped
image: docker.io/postgres:12.2-alpine
networks:
- calcnet
env_file:
- .config/docker.env
volumes:
- ./db:/var/lib/postgresql/data
# es:
# restart: unless-stopped
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2
# environment:
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# - "TAKE_FILE_OWNERSHIP=111"
# networks:
# - calcnet
# volumes:
# - ./elasticsearch:/usr/share/elasticsearch/data
networks:
calcnet:
# web:
# external:
# name: web