-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·51 lines (45 loc) · 925 Bytes
/
docker-compose.yml
File metadata and controls
executable file
·51 lines (45 loc) · 925 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
44
45
46
47
48
49
50
51
version: '2'
services:
nginx:
restart: always
image: dimka2014/nginx-upload-with-progress-modules:latest
container_name: nginx_employeebase
ports:
- "8000:8000"
volumes:
- ./src:/src
- ./config/nginx:/etc/nginx/conf.d
- ./src/static:/static
- ./src/media:/media/
depends_on:
- web
web:
restart: always
build: .
container_name: web_employeebase
env_file: .env
volumes:
- ./src:/src
ports:
- "8002:8002"
links:
- postgresql
depends_on:
- postgresql
postgresql:
restart: always
image: postgres:10
container_name: postgresql_employeebase
env_file: .env
volumes:
- db-data:/var/lib/postgresql/data/pgdata
ports:
- "5433:5432"
redis:
restart: always
image: redis:latest
container_name: redis_starlight
ports:
- '6380:6379'
volumes:
db-data: