-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (48 loc) · 1.08 KB
/
docker-compose.yml
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
version: "1"
services:
app:
container_name: app
build: .
restart: always
ports:
- 5000:5000
# command: python manage.py run
# env_file:
# - ./.env.dev
environment:
- APIKEY=testpass
- DB_HOST=postgres
- DB_NAME=dummy
- DB_USER=dummy
- DB_PASS=p@ssW0rd
- DB_PORT=5432
- AI_SCHEMA=ai_dev
- MAIN_SCHEMA=public
depends_on:
- postgres
postgres:
container_name: postgres
restart: always
image: postgres:13-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=dummy
- POSTGRES_PASSWORD=p@ssW0rd
- POSTGRES_DB=dummy
ports:
- 5432:5432
# redis:
# image: redis
# container_name: redis-container
# ports:
# - "6379:6379"
volumes:
postgres_data: {}
#volumes: ""
#secrete:
# config_file:
# file: ./config.yaml
#networks:
# backend-network:
# frontend-network: