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