-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
72 lines (65 loc) · 1.56 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
72 lines (65 loc) · 1.56 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
postgres:
ports:
- ${POSTGRES_PORT:-5432}:5432
environment:
PGDATA: '/var/lib/postgresql/data/pgdata'
command:
- postgres
- -c
- listen_addresses=*
- -c
- hba_file=/etc/postgresql/pg_hba.conf
volumes:
- ./db/postgres:/var/lib/postgresql/data/pgdata
- ./docker/postgres/pg_hba.conf:/etc/postgresql/pg_hba.conf:ro
shm_size: 8g
redis:
ports:
- 6379:6379
mailer:
ports:
- 8025:8025
- 1025:1025
dex:
ports:
- 8090:8090
- 5557:5557
api:
build:
dockerfile: ./docker/api/Dockerfile
context: .
environment:
DEBUG: 'api'
APP_POSTGRES_TIMEOUT: 0
APP_REQUEST_TIMEOUT: 0
APP_APDF_S3_UPLOAD_ENABLED: false
DENO_DIR: /app/api/.cache
# Opt out of `--cached-only` so dev auto-fetches missing deps into the mounted cache.
DENO_CACHED_ONLY: ''
ports:
- ${PORT:-8080}:${PORT:-8080}
volumes:
- ./api:/app/api
# Named volume avoids the host/container uid mismatch that would block cache writes.
- deno_cache:/app/api/.cache
- ./tmp:/tmp
# cms:
# build:
# dockerfile: ../docker/cms/Dockerfile
# context: ./cms
# volumes:
# - ./cms/config:/opt/app/config
# - ./cms/src:/opt/app/src
# - ./cms/package.json:/opt/package.json
# - ./cms/package-lock.json:/opt/package-lock.json
# ports:
# - "1337:1337"
# environment:
# NODE_ENV: dev
# DATABASE_NAME: local
s3:
ports:
- 9000:9000
volumes:
deno_cache: