-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
40 lines (40 loc) · 972 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
version: "3"
services:
shift-container:
image: shift:latest
environment:
- DATABASE_URL=mongodb://mongo:mongo@shift-mongodb-db:27017/shift?authSource=admin
- SERVER_URL=http://localhost:1337/parse
- DASHBOARD_USER=user
- DASHBOARD_PASS=pass
- DASHBOARD_HOSTNAMES=localhost
- PRODUCTION=false
- SMS_SERVICE_TOKEN=
- SMS_SERVICE_URL=
- S3_BASE_URL=
- S3_BUCKET=
- S3_ENDPOINT=
- S3_ACCESS_KEY=
- S3_SECRED_KEY=
- MAIL_USER=
- MAIL_PASSWORD=
- MAIL_HOST=
- MAIL_PORT=
- MAIL_SECURE=
ports:
- "1337:1337"
shift-mongodb:
image: mongo:7
restart: always
hostname: shift-mongodb-db
environment:
- MONGO_INITDB_ROOT_USERNAME=mongo
- MONGO_INITDB_ROOT_PASSWORD=mongo
- MONGO_INITDB_DATABASE=shift
ports:
- "27017:27017"
volumes:
- shift-mongodb:/data/db
volumes:
shift-mongodb:
driver: local