Add quickstart docker compose file and script
This commit is contained in:
1 parent
a8e069b820
commit
42e5cac708
3 files changed
+36
No files matched your search
@@ -2,3 +2,4 @@
|
|||||||
.vscode
|
.vscode
|
||||||
*.sh
|
*.sh
|
||||||
!uptime.sh
|
!uptime.sh
|
||||||
|
!quickstart.sh
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
FROM mongo
|
FROM mongo
|
||||||
|
COPY ./Docker/mongo/init/create_users.js /docker-entrypoint-initdb.d/
|
||||||
EXPOSE 27017
|
EXPOSE 27017
|
||||||
CMD ["mongod"]
|
CMD ["mongod"]
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
services:
|
||||||
|
client:
|
||||||
|
image: bluewaveuptime/uptime_client:latest
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
depends_on:
|
||||||
|
- server
|
||||||
|
volumes:
|
||||||
|
- ./nginx/conf.d:/etc/nginx/conf.d/:ro
|
||||||
|
server:
|
||||||
|
image: bluewaveuptime/uptime_server:latest
|
||||||
|
ports:
|
||||||
|
- "5000:5000"
|
||||||
|
env_file:
|
||||||
|
- server.env
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
- mongodb
|
||||||
|
redis:
|
||||||
|
image: bluewaveuptime/uptime_redis:latest
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
volumes:
|
||||||
|
- ./redis/data:/data
|
||||||
|
mongodb:
|
||||||
|
image: bluewaveuptime/uptime_database_mongo:latest
|
||||||
|
command: ["mongod", "--quiet", "--auth"]
|
||||||
|
ports:
|
||||||
|
- "27017:27017"
|
||||||
|
volumes:
|
||||||
|
- ./mongo/data:/data/db
|
||||||
|
env_file:
|
||||||
|
- mongo.env
|
||||||
Reference in new issue
Block a user