-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyour_spotify.yml
57 lines (53 loc) · 1.3 KB
/
your_spotify.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
services:
server:
container_name: server
image: yooooomi/your_spotify_server
restart: always
ports:
- "8080:8080"
links:
- mongo
depends_on:
- mongo
environment:
- API_ENDPOINT=https://yourserver.ismyserveron.net
- CLIENT_ENDPOINT=https://yourspotify.ismyserveron.net
- SPOTIFY_PUBLIC=07e1601f812648f3859ddadb823c2bb2
- SPOTIFY_SECRET=8339008408a74b6091b3f79ebec0de77
#MONGO_ENDPOINT: mongodb://192.168.50.3:27017/your_spotify
- CORS=i-want-a-security-vulnerability-and-want-to-allow-all-origins
networks:
YourSpotify:
ipv4_address: 192.168.50.4
mongo:
restart: always
container_name: mongo
image: mongo:6
volumes:
- /your_spotify_db:/data/db
ports:
- 27017:27017
networks:
YourSpotify:
ipv4_address: 192.168.50.3
web:
container_name: client
image: yooooomi/your_spotify_client
restart: always
ports:
- "3000:3000"
environment:
- API_ENDPOINT=https://yourserver.ismyserveron.net
networks:
YourSpotify:
ipv4_address: 192.168.50.2
networks:
YourSpotify:
driver: bridge
ipam:
config:
- subnet: 192.168.50.0/24
gateway: 192.168.50.1
secrets:
spotify_secret:
file: /secrets/SPOTIFY_SECRET