-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (46 loc) · 923 Bytes
/
docker-compose.yml
File metadata and controls
51 lines (46 loc) · 923 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
name: osu-api
services:
flask:
build: .
command: "gunicorn app:app -b 0.0.0.0:80"
volumes:
- osu-bancho:/.data
networks:
- default
- osu-mysql
- osu-nginx
restart: unless-stopped
depends_on:
redis:
condition: service_started
celery-worker:
build: .
command: "celery -A app.celery worker --loglevel=info"
volumes:
- osu-bancho:/.data
networks:
- default
- osu-mysql
restart: unless-stopped
depends_on:
redis:
condition: service_started
redis:
image: redis:latest
user: root
volumes:
- redis-data:/data
environment:
REDIS_PASSWORD: ${REDIS_PASSWORD}
REDIS_PORT_NUMBER: ${REDIS_PORT}
restart: unless-stopped
volumes:
redis-data:
osu-bancho:
name: osu-bancho
external: true
networks:
osu-mysql:
external: true
osu-nginx:
external: true