-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yml
61 lines (58 loc) · 1.38 KB
/
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
version: '3.8'
networks:
external:
name: nginx-proxy
internal:
internal: true
volumes:
mongo:
mongoc:
services:
mongo:
container_name: spotify_mongo
image: mongo:4.4
networks:
- internal
ports:
- 27017:27017
restart: unless-stopped
volumes:
- mongo:/data/db
- mongoc:/data/configdb
node:
container_name: spotify_main
depends_on:
- mongo
environment:
API_HOST: http://${SPOTIFY_URL:-localhost:8888}/callback
CLIENT_ID: ${CLIENT_ID}
CLIENT_SECRET: ${CLIENT_SECRET}
DATABASE_URL: mongodb://mongo/spotify
LETSENCRYPT_HOST: ${SPOTIFY_URL}
VIRTUAL_HOST: ${SPOTIFY_URL}
image: luisenmarroquin/spotify-sync
networks:
- external
- internal
ports:
- 8888
restart: unless-stopped
express:
container_name: spotify_express
depends_on:
- node
environment:
ME_CONFIG_MONGODB_SERVER: mongo
ME_CONFIG_SITE_COOKIESECRET: ${ME_COOKIE:-12345678}
ME_CONFIG_SITE_SESSIONSECRET: ${ME_SESSION:-12345678}
ME_CONFIG_BASICAUTH_USERNAME: ${ME_USERNAME:-12345678}
ME_CONFIG_BASICAUTH_PASSWORD: ${ME_PASSWORD:-12345678}
LETSENCRYPT_HOST: db.${SPOTIFY_URL}
VIRTUAL_HOST: db.${SPOTIFY_URL}
image: mongo-express:latest
networks:
- external
- internal
ports:
- 8081
restart: unless-stopped