Full application docker compose set up
This commit is contained in:
1 parent
11c1819951
commit
531eb0b857
11 files changed
+93
-53
No files matched your search
Executable
+24
@@ -0,0 +1,24 @@
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
# Change directory to root Server directory for correct Docker Context
|
||||
cd ..
|
||||
|
||||
#Client
|
||||
client="./Docker/client.Dockerfile"
|
||||
|
||||
# MongoDB
|
||||
mongoDB="./Docker/mongoDB.Dockerfile"
|
||||
|
||||
# Redis
|
||||
redis="./Docker/redis.Dockerfile"
|
||||
|
||||
# Server
|
||||
server="./Docker/server.Dockerfile"
|
||||
|
||||
docker build -f $client -t uptime_client .
|
||||
docker build -f $mongoDB -t uptime_database_mongo .
|
||||
docker build -f $redis -t uptime_redis .
|
||||
docker build -f $server -t uptime_server .
|
||||
|
||||
echo "All images built"
|
||||
Reference in new issue
Block a user