-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (37 loc) · 958 Bytes
/
docker-compose.yaml
File metadata and controls
43 lines (37 loc) · 958 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
41
42
43
# base docker-compose; docker-compose.override.yaml is added by default by docker-compose,
# unless --file is specified and is manually added in dev-composition.sh
version: "3.9"
services:
frontend:
build: frontend
depends_on:
- api
api:
build: api
depends_on:
- database
- redis
environment:
DATABASE_URI: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database:5432/everycache
FLASK_APP: autoapp:app
FLASK_ENV:
FRONTEND_APP_URL:
HASHIDS_ALPHABET:
HASHIDS_SALT:
JWT_ACCESS_TOKEN_EXPIRY_MINUTES:
JWT_REFRESH_TOKEN_EXPIRY_MINUTES:
REDIS_URL: redis://redis:6379/0
SECRET_KEY:
MAIL_PASSWORD:
database:
image: postgres:latest
environment:
POSTGRES_DB: everycache
POSTGRES_USER:
POSTGRES_PASSWORD:
volumes:
- database-data:/var/lib/postgresql/data
redis:
image: redis:alpine
volumes:
database-data: