-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (58 loc) · 1.14 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
53
54
55
56
57
58
59
60
61
62
63
version: '3'
services:
# ---
# Stores
# ---
database:
image: mysql:5.6.34
environment:
- MYSQL_ROOT_PASSWORD=pocockn
- MYSQL_DATABASE=docker_pocockn
- MYSQL_USER=pocockn
- MYSQL_PASSWORD=pocockn
expose:
- 3306
ports:
- 3306:3306
data-migrator:
container_name: data-migrator
build:
context: ..
dockerfile: core/database-migrator/Dockerfile
networks:
- recs-for-the-decks
environment:
- ENV=docker
# ---
# Services
# ---
recs-api:
container_name: recs-api
build:
context: ..
dockerfile: services/recs-api/Dockerfile
networks:
- recs-for-the-decks
environment:
- ENV=docker
depends_on:
- database
links:
- database:mysql
expose:
- 5000
spotify-poller:
container_name: spotify-poller
build:
context: ..
dockerfile: services/spotify-poller/Dockerfile
networks:
- recs-for-the-decks
environment:
- ENV=docker
- SPOTIFY_CLIENT_SECRET=${SPOTIFY_CLIENT_SECRET}
depends_on:
- database
- recs-api
networks:
recs-for-the-decks: