2018-10-08 23:09:50 -07:00
|
|
|
services:
|
|
|
|
web:
|
2024-02-01 06:36:48 -08:00
|
|
|
# image: registry.activitypub.software/transfem-org/sharkey:latest
|
2018-10-08 23:09:50 -07:00
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
links:
|
2019-04-07 05:50:36 -07:00
|
|
|
- db
|
2019-04-13 20:05:12 -07:00
|
|
|
- redis
|
2024-01-06 03:14:33 -08:00
|
|
|
# - mcaptcha
|
2023-05-04 16:52:14 -07:00
|
|
|
# - meilisearch
|
2023-01-14 13:24:56 -08:00
|
|
|
depends_on:
|
|
|
|
db:
|
|
|
|
condition: service_healthy
|
|
|
|
redis:
|
|
|
|
condition: service_healthy
|
2018-10-08 23:09:50 -07:00
|
|
|
ports:
|
2022-05-15 00:39:23 -07:00
|
|
|
- "3000:3000"
|
2018-10-08 23:09:50 -07:00
|
|
|
networks:
|
2023-09-22 22:20:25 -07:00
|
|
|
- shonk
|
2024-07-14 05:33:22 -07:00
|
|
|
# env_file:
|
|
|
|
# - .config/docker.env
|
2020-07-30 05:13:38 -07:00
|
|
|
volumes:
|
2023-09-22 21:54:52 -07:00
|
|
|
- ./files:/sharkey/files
|
|
|
|
- ./.config:/sharkey/.config:ro
|
2018-10-08 23:09:50 -07:00
|
|
|
|
2019-04-13 20:05:12 -07:00
|
|
|
redis:
|
|
|
|
restart: always
|
2023-11-09 09:58:51 -08:00
|
|
|
image: redis:7-alpine
|
2019-04-13 20:05:12 -07:00
|
|
|
networks:
|
2023-09-22 22:20:25 -07:00
|
|
|
- shonk
|
2019-04-13 20:05:12 -07:00
|
|
|
volumes:
|
|
|
|
- ./redis:/data
|
2023-01-14 13:24:56 -08:00
|
|
|
healthcheck:
|
2023-11-09 09:58:51 -08:00
|
|
|
test: "redis-cli ping"
|
2023-01-14 13:24:56 -08:00
|
|
|
interval: 5s
|
|
|
|
retries: 20
|
2018-10-08 23:09:50 -07:00
|
|
|
|
2019-04-07 05:50:36 -07:00
|
|
|
db:
|
2018-10-08 23:09:50 -07:00
|
|
|
restart: always
|
2023-01-17 13:13:44 -08:00
|
|
|
image: postgres:15-alpine
|
2018-10-08 23:09:50 -07:00
|
|
|
networks:
|
2023-09-22 22:20:25 -07:00
|
|
|
- shonk
|
2019-04-07 05:50:36 -07:00
|
|
|
env_file:
|
|
|
|
- .config/docker.env
|
2018-10-08 23:09:50 -07:00
|
|
|
volumes:
|
2019-04-07 05:50:36 -07:00
|
|
|
- ./db:/var/lib/postgresql/data
|
2023-01-14 13:24:56 -08:00
|
|
|
healthcheck:
|
2023-01-15 03:54:20 -08:00
|
|
|
test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
|
2023-01-14 13:24:56 -08:00
|
|
|
interval: 5s
|
|
|
|
retries: 20
|
2018-10-08 23:09:50 -07:00
|
|
|
|
2024-01-06 03:14:33 -08:00
|
|
|
# mcaptcha:
|
|
|
|
# restart: always
|
|
|
|
# image: mcaptcha/mcaptcha:latest
|
|
|
|
# networks:
|
2024-09-20 17:09:33 -07:00
|
|
|
# shonk:
|
2024-01-06 03:14:33 -08:00
|
|
|
# aliases:
|
|
|
|
# - localhost
|
|
|
|
# ports:
|
|
|
|
# - 7493:7493
|
|
|
|
# env_file:
|
|
|
|
# - .config/docker.env
|
|
|
|
# environment:
|
|
|
|
# PORT: 7493
|
|
|
|
# MCAPTCHA_redis_URL: "redis://mcaptcha_redis/"
|
2024-09-20 17:09:33 -07:00
|
|
|
# MCAPTCHA_allow_registration: true
|
2024-09-20 17:27:34 -07:00
|
|
|
# MCAPTCHA_server_DOMAIN: "example.tld"
|
2024-01-06 03:14:33 -08:00
|
|
|
# depends_on:
|
|
|
|
# db:
|
|
|
|
# condition: service_healthy
|
|
|
|
# mcaptcha_redis:
|
|
|
|
# condition: service_healthy
|
|
|
|
#
|
|
|
|
# mcaptcha_redis:
|
|
|
|
# image: mcaptcha/cache:latest
|
|
|
|
# networks:
|
2024-09-20 17:09:33 -07:00
|
|
|
# - shonk
|
2024-01-06 03:14:33 -08:00
|
|
|
# healthcheck:
|
|
|
|
# test: "redis-cli ping"
|
|
|
|
# interval: 5s
|
|
|
|
# retries: 20
|
|
|
|
|
2023-05-04 16:52:14 -07:00
|
|
|
# meilisearch:
|
2018-10-08 23:09:50 -07:00
|
|
|
# restart: always
|
2023-09-14 22:28:29 -07:00
|
|
|
# image: getmeili/meilisearch:v1.3.4
|
2018-10-08 23:09:50 -07:00
|
|
|
# environment:
|
2023-05-04 16:52:14 -07:00
|
|
|
# - MEILI_NO_ANALYTICS=true
|
|
|
|
# - MEILI_ENV=production
|
2024-01-01 06:30:59 -08:00
|
|
|
# - MEILI_MASTER_KEY=ChangeThis
|
2018-10-08 23:09:50 -07:00
|
|
|
# networks:
|
2023-09-22 22:20:25 -07:00
|
|
|
# - shonk
|
2019-04-07 05:50:36 -07:00
|
|
|
# volumes:
|
2023-05-04 16:52:14 -07:00
|
|
|
# - ./meili_data:/meili_data
|
2018-10-08 23:09:50 -07:00
|
|
|
|
2023-10-06 16:33:17 -07:00
|
|
|
|
2018-10-08 23:09:50 -07:00
|
|
|
networks:
|
2023-09-22 22:20:25 -07:00
|
|
|
shonk:
|