-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
27 lines (25 loc) · 967 Bytes
/
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
version: "2.0"
services:
scorpius:
image: jmsfernandes/scorpius:latest
hostname: scorpius
container_name: scorpius
restart: always
expose:
- '80'
- '443'
ports:
- "80:80"
- "443:443"
environment: # if we dont need/want https support, you can comment all of these lines
- ASPNETCORE_URLS=https://+;http://+
- Kestrel__Certificates__Default__Path=/app/Certs/cert.pem
- Kestrel__Certificates__Default__KeyPath=/app/Certs/key.pem
volumes:
- ./Scorpius/custom-firebase_admin.json:/app/firebase_admin.json # map your firebase_admin.json config file
#- ./Scorpius/custom-notifications.json:/app/notifications.json #map your notification path to inside of the
- ./Scorpius/Certs/cert.pem:/app/Certs/cert.pem #map the certificates and priv key to inside of the container
- ./Scorpius/Certs/key.pem:/app/Certs/key.pem
logging:
options:
max-size: 50m