2018-10-09 15:09:50 +09:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
web:
|
2023-10-22 01:02:55 +09:00
|
|
|
# image: ghcr.io/transfem-org/sharkey:stable
|
2018-10-09 15:09:50 +09:00
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
links:
|
2019-04-07 21:50:36 +09:00
|
|
|
- db
|
2019-04-14 12:05:12 +09:00
|
|
|
- redis
|
2023-05-05 08:52:14 +09:00
|
|
|
# - meilisearch
|
2023-01-15 06:24:56 +09:00
|
|
|
depends_on:
|
|
|
|
db:
|
|
|
|
condition: service_healthy
|
|
|
|
redis:
|
|
|
|
condition: service_healthy
|
2018-10-09 15:09:50 +09:00
|
|
|
ports:
|
2022-05-15 16:39:23 +09:00
|
|
|
- "3000:3000"
|
2018-10-09 15:09:50 +09:00
|
|
|
networks:
|
2023-09-23 14:20:25 +09:00
|
|
|
- shonk
|
2020-07-30 21:13:38 +09:00
|
|
|
volumes:
|
2023-09-23 13:54:52 +09:00
|
|
|
- ./files:/sharkey/files
|
|
|
|
- ./.config:/sharkey/.config:ro
|
2018-10-09 15:09:50 +09:00
|
|
|
|
2019-04-14 12:05:12 +09:00
|
|
|
redis:
|
|
|
|
restart: always
|
2023-10-22 01:02:55 +09:00
|
|
|
image: eqalpha/keydb:latest
|
2019-04-14 12:05:12 +09:00
|
|
|
networks:
|
2023-09-23 14:20:25 +09:00
|
|
|
- shonk
|
2019-04-14 12:05:12 +09:00
|
|
|
volumes:
|
|
|
|
- ./redis:/data
|
2023-01-15 06:24:56 +09:00
|
|
|
healthcheck:
|
2023-10-22 01:02:55 +09:00
|
|
|
test: "keydb-cli ping"
|
2023-01-15 06:24:56 +09:00
|
|
|
interval: 5s
|
|
|
|
retries: 20
|
2018-10-09 15:09:50 +09:00
|
|
|
|
2019-04-07 21:50:36 +09:00
|
|
|
db:
|
2018-10-09 15:09:50 +09:00
|
|
|
restart: always
|
2023-01-18 06:13:44 +09:00
|
|
|
image: postgres:15-alpine
|
2018-10-09 15:09:50 +09:00
|
|
|
networks:
|
2023-09-23 14:20:25 +09:00
|
|
|
- shonk
|
2019-04-07 21:50:36 +09:00
|
|
|
env_file:
|
|
|
|
- .config/docker.env
|
2018-10-09 15:09:50 +09:00
|
|
|
volumes:
|
2019-04-07 21:50:36 +09:00
|
|
|
- ./db:/var/lib/postgresql/data
|
2023-01-15 06:24:56 +09:00
|
|
|
healthcheck:
|
2023-01-15 20:54:20 +09:00
|
|
|
test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
|
2023-01-15 06:24:56 +09:00
|
|
|
interval: 5s
|
|
|
|
retries: 20
|
2018-10-09 15:09:50 +09:00
|
|
|
|
2023-05-05 08:52:14 +09:00
|
|
|
# meilisearch:
|
2018-10-09 15:09:50 +09:00
|
|
|
# restart: always
|
2023-09-15 14:28:29 +09:00
|
|
|
# image: getmeili/meilisearch:v1.3.4
|
2018-10-09 15:09:50 +09:00
|
|
|
# environment:
|
2023-05-05 08:52:14 +09:00
|
|
|
# - MEILI_NO_ANALYTICS=true
|
|
|
|
# - MEILI_ENV=production
|
|
|
|
# env_file:
|
|
|
|
# - .config/meilisearch.env
|
2018-10-09 15:09:50 +09:00
|
|
|
# networks:
|
2023-09-23 14:20:25 +09:00
|
|
|
# - shonk
|
2019-04-07 21:50:36 +09:00
|
|
|
# volumes:
|
2023-05-05 08:52:14 +09:00
|
|
|
# - ./meili_data:/meili_data
|
2018-10-09 15:09:50 +09:00
|
|
|
|
2023-10-07 08:33:17 +09:00
|
|
|
|
2018-10-09 15:09:50 +09:00
|
|
|
networks:
|
2023-09-23 14:20:25 +09:00
|
|
|
shonk:
|