-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 850 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 850 Bytes
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
version: "3.9"
services:
api:
container_name: quickdocs-api
build:
context: .
dockerfile: docker/Dockerfile
image: quickdocs/quickdocs-api
environment:
APP_ENV: docker
PORT: 15050
ports:
- "15050:15050"
depends_on:
- maindb
stdin_open: true
tty: true
volumes:
- .:/app
- /app/.qlot
- ./.qlot/local-projects:/app/.qlot/local-projects
- lisp_cache:/root/.cache/common-lisp
maindb:
container_name: quickdocs-maindb
image: postgres:10.1
environment:
POSTGRES_USER: quickdocs
POSTGRES_PASSWORD: quickdocs
POSTGRES_DB: quickdocs
ports:
- "25432:5432"
volumes:
- maindb_data:/var/lib/postgresql/data
volumes:
lisp_cache:
name: quickdocs_api_lisp_cache
maindb_data:
name: quickdocs_maindb_data