-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 909 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (34 loc) · 909 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
volumes:
postgres_data:
services:
postgres:
image: postgres
ports:
- 5432:5432
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: user
POSTGRES_DB: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
backend:
volumes:
- ./src:/app/src
build:
context: .
dockerfile: Dockerfile
container_name: trackntrain_backend
ports:
- '8000:8000'
environment:
ENV: ${ENV}
SECRET_KEY: ${SECRET_KEY}
ACCESS_TOKEN_EXPIRE_MINUTES: ${ACCESS_TOKEN_EXPIRE_MINUTES}
DATABASE_URL: ${DATABASE_URL}
MINIO_ENDPOINT: ${MINIO_ENDPOINT}
MINIO_PUBLIC_URL: ${MINIO_PUBLIC_URL}
MINIO_REGION: ${MINIO_REGION}
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
MINIO_BUCKET_PP: ${MINIO_BUCKET_PP}
MINIO_BUCKET_USERS: ${MINIO_BUCKET_USERS}