-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcompose.override.yaml
59 lines (52 loc) · 1.18 KB
/
compose.override.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
services:
db:
environment:
- POSTGRES_PASSWORD=alexandria
ports:
- "5432:5432"
media-files:
image: alpine
restart: "no"
volumes:
- uploads:/media/uploads
entrypoint: |
/bin/sh -c "chown -R ${UID}:${UID} /media"
alexandria: &alexandria
build:
context: .
target: dev
user: "${UID:?Set UID env variable to your user id}"
tty: true
stdin_open: true
volumes:
- ./:/app
- uploads:/media/uploads
depends_on:
- media-files
environment:
- ENV=dev
- DEBUG=true
- ALEXANDRIA_DEV_AUTH_BACKEND=true
- ALEXANDRIA_ALLOW_ANONYMOUS_WRITE=true
- ALEXANDRIA_ENABLE_CONTENT_SEARCH=true
- PYTHONUNBUFFERED=1
- CELERY_RDB_HOST=0.0.0.0. # to be able to telnet from outside the container
minio:
environment:
- MINIO_ROOT_USER=minio
- MINIO_ROOT_PASSWORD=minio123
mc:
environment:
- MINIO_ROOT_USER=minio
- MINIO_ROOT_PASSWORD=minio123
clamav:
environment:
- CONCURRENT_DATABASE_RELOAD=false
- ENABLE_DEFINITIONS_UPDATE=false
celery:
<<: *alexandria
ports:
- "6900-7000:6900-7000"
volumes:
uploads: