-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
43 lines (40 loc) · 887 Bytes
/
local.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
version: '3'
services:
flask:
build:
context: .
dockerfile: ./compose/flask/Dockerfile
image: apksneeze_web
container_name: apksneeze_web
env_file: ./.env/.postgres
ports:
- "5000:5000"
volumes:
- "./flask/:/flask/"
- "./storage:/storage"
depends_on:
- redis
- postgres
worker:
build:
context: .
dockerfile: ./compose/worker/Dockerfile
image: apksneeze_worker
container_name: apksneeze_worker
env_file: ./.env/.postgres
volumes:
- "./flask/:/flask/"
- "./storage:/storage"
depends_on:
- flask
- redis
- postgres
redis:
image: redis:6.0.6-buster
container_name: apksneeze_redis
postgres:
build:
context: .
dockerfile: ./compose/postgres/Dockerfile
container_name: apksneeze_db
env_file: ./.env/.postgres