-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
50 lines (46 loc) · 953 Bytes
/
docker-compose.yaml
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
version: "3.9"
services:
piplayer.frontend:
container_name: frontend
image: piplayer.${FRONTEND_IMAGE}:latest
restart: always
ports:
- ${FRONTEND_PORT}:${FRONTEND_PORT}
networks:
- piplayer-network
security_opt:
- no-new-privileges
cap_drop:
- ALL
piplayer.backend:
environment:
- CORS_ORIGINS
- MEDIA
container_name: backend
image: piplayer.backend:latest
restart: always
volumes:
- "${MEDIA}:${MEDIA}:ro"
networks:
- piplayer-network
security_opt:
- no-new-privileges
cap_drop:
- ALL
piplayer.proxy:
container_name: proxy
image: piplayer.proxy:latest
restart: always
ports:
- 8080:80
volumes:
- "${MEDIA}:/usr/share/nginx/html:ro"
networks:
- piplayer-network
security_opt:
- no-new-privileges
cap_drop:
- ALL
networks:
piplayer-network:
driver: bridge