forked from codex-team/notes.api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 748 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 748 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
version: '3.2'
services:
api:
build:
dockerfile: Dockerfile
context: .
ports:
- 127.0.0.1:1337:1337
volumes:
- ./app-config.yaml:/usr/app/app-config.yaml
restart: unless-stopped
postgres:
image: postgres
environment:
POSTGRES_USER: codex
POSTGRES_DB: notes
POSTGRES_PASSWORD: postgres
ports:
- 127.0.0.1:5432:5432
volumes:
- ./database:/var/lib/postgresql/data
s3:
image: minio/minio
ports:
- 127.0.0.1:9000:9000
- 127.0.0.1:9001:9001
volumes:
- ./s3:/data
environment:
MINIO_ROOT_USER: codex
MINIO_ROOT_PASSWORD: minio12345
MINIO_REGION: my-region
command: server --console-address ":9001" /data