2018-10-09 00:09:50 -06:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
2022-11-06 20:04:57 -07:00
|
|
|
image: docker.io/thatonecalculator/calckey
|
2022-12-16 17:31:39 -07:00
|
|
|
container_name: calckey_web
|
2022-12-12 21:32:12 -07:00
|
|
|
restart: unless-stopped
|
2022-11-06 20:04:57 -07:00
|
|
|
depends_on:
|
2019-04-07 06:50:36 -06:00
|
|
|
- db
|
2019-04-13 21:05:12 -06:00
|
|
|
- redis
|
2023-03-23 15:43:21 -06:00
|
|
|
- sonic
|
2018-10-09 00:09:50 -06:00
|
|
|
ports:
|
2022-05-15 01:39:23 -06:00
|
|
|
- "3000:3000"
|
2018-10-09 00:09:50 -06:00
|
|
|
networks:
|
2022-12-12 21:32:12 -07:00
|
|
|
- calcnet
|
|
|
|
# - web
|
|
|
|
environment:
|
|
|
|
NODE_ENV: production
|
2020-07-30 06:13:38 -06:00
|
|
|
volumes:
|
2022-09-14 00:37:01 -06:00
|
|
|
- ./files:/calckey/files
|
2022-12-16 17:31:39 -07:00
|
|
|
- ./.config:/calckey/.config:ro
|
2018-10-09 00:09:50 -06:00
|
|
|
|
2019-04-13 21:05:12 -06:00
|
|
|
redis:
|
2022-12-12 21:32:12 -07:00
|
|
|
restart: unless-stopped
|
2022-12-08 07:17:00 -07:00
|
|
|
image: docker.io/redis:7.0-alpine
|
2022-12-16 17:31:39 -07:00
|
|
|
container_name: calckey_redis
|
2019-04-13 21:05:12 -06:00
|
|
|
networks:
|
2022-12-12 21:32:12 -07:00
|
|
|
- calcnet
|
2019-04-13 21:05:12 -06:00
|
|
|
volumes:
|
|
|
|
- ./redis:/data
|
2018-10-09 00:09:50 -06:00
|
|
|
|
2019-04-07 06:50:36 -06:00
|
|
|
db:
|
2022-12-12 21:32:12 -07:00
|
|
|
restart: unless-stopped
|
2022-12-18 17:57:51 -07:00
|
|
|
image: docker.io/postgres:12.2-alpine
|
2022-12-16 17:31:39 -07:00
|
|
|
container_name: calckey_db
|
2018-10-09 00:09:50 -06:00
|
|
|
networks:
|
2022-12-12 21:32:12 -07:00
|
|
|
- calcnet
|
2019-04-07 06:50:36 -06:00
|
|
|
env_file:
|
2022-12-16 14:59:10 -07:00
|
|
|
- .config/docker.env
|
2018-10-09 00:09:50 -06:00
|
|
|
volumes:
|
2019-04-07 06:50:36 -06:00
|
|
|
- ./db:/var/lib/postgresql/data
|
2018-10-09 00:09:50 -06:00
|
|
|
|
2023-05-24 17:06:03 -06:00
|
|
|
meilisearch:
|
|
|
|
container_name: meilisearch
|
|
|
|
image: getmeili/meilisearch:v0.25.2
|
|
|
|
environment:
|
|
|
|
- MEILI_ENV=${MEILI_ENV:-development}
|
|
|
|
ports:
|
|
|
|
- "7700:7700"
|
2023-03-23 15:43:21 -06:00
|
|
|
networks:
|
2023-05-24 17:06:03 -06:00
|
|
|
- meilisearch
|
2023-03-23 15:43:21 -06:00
|
|
|
volumes:
|
2023-05-24 17:06:03 -06:00
|
|
|
- ./data.ms:/data.ms
|
|
|
|
restart: unless-stopped
|
2018-10-09 00:09:50 -06:00
|
|
|
|
|
|
|
networks:
|
2022-12-12 21:32:12 -07:00
|
|
|
calcnet:
|
|
|
|
# web:
|
|
|
|
# external:
|
|
|
|
# name: web
|