-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
49 lines (44 loc) · 1.03 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
version: '3'
networks:
application:
# Prepared for proxy
# public:
# external: true
volumes:
application:
services:
nginx:
restart: unless-stopped
build:
context: .
dockerfile: docker/nginx/Dockerfile
env_file:
- .env
networks:
# Prepared for proxy
# - public
- application
volumes:
- application:/app
# Comment ports section if you would like to use proxy
ports:
- 80:80
uwsgi:
restart: unless-stopped
build:
context: .
dockerfile: docker/uwsgi/Dockerfile
networks:
- application
volumes:
- application:/app
environment:
- REDIS_HOST=redis
redis:
restart: unless-stopped
image: redis:alpine
volumes:
- ./storage/redis:/data
networks:
- application
command: redis-server --appendonly yes