.DS_Store
volumes/
+.zencoder/
\ No newline at end of file
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
+ <excludeFolder url="file://$MODULE_DIR$/.zencoder" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
<excludeFolder url="file://$MODULE_DIR$/volumes" />
entrypoint: sh -c "/usr/src/app/run-api.sh"
networks:
- phs-net
- employee:
+ home:
build:
dockerfile: Dockerfile
- context: ./volumes/phs-employee/
- hostname: phs-employee
- container_name: phs-employee
+ context: ./volumes/phs-home/
+ hostname: phs-home
+ container_name: phs-home
user: node
working_dir: "/usr/src/app"
environment:
- CLR_ENV=${CLR_ENV}
- TZ=America/Chicago
volumes:
- - ./volumes/phs-employee:/usr/src/app
+ - ./volumes/phs-home:/usr/src/app
ports:
- 30007:3000
networks:
- phs-net
restart: unless-stopped
- entrypoint: sh -c "/usr/src/app/run-employee.sh"
- admin:
- build:
- dockerfile: Dockerfile
- context: ./volumes/phs-admin/
- hostname: phs-admin
- container_name: phs-admin
- user: node
- working_dir: "/usr/src/app"
- environment:
- - CLR_ENV=${CLR_ENV}
- - TZ=America/Chicago
- volumes:
- - ./volumes/phs-admin:/usr/src/app
- ports:
- - 30008:3000
- networks:
- - phs-net
- restart: unless-stopped
- entrypoint: sh -c "/usr/src/app/run-admin.sh"
+ entrypoint: sh -c "/usr/src/app/run-home.sh"
+# admin:
+# build:
+# dockerfile: Dockerfile
+# context: ./volumes/phs-admin/
+# hostname: phs-admin
+# container_name: phs-admin
+# user: node
+# working_dir: "/usr/src/app"
+# environment:
+# - CLR_ENV=${CLR_ENV}
+# - TZ=America/Chicago
+# volumes:
+# - ./volumes/phs-admin:/usr/src/app
+# ports:
+# - 30008:3000
+# networks:
+# - phs-net
+# restart: unless-stopped
+# entrypoint: sh -c "/usr/src/app/run-admin.sh"
networks:
phs-net:
check_branch_and_prompt .
check_branch_and_prompt volumes/phs-api
#check_branch_and_prompt volumes/phs-app
-check_branch_and_prompt volumes/phs-employee
+check_branch_and_prompt volumes/phs-home
#check_branch_and_prompt volumes/phs-customer
-check_branch_and_prompt volumes/phs-admin
+#check_branch_and_prompt volumes/phs-admin
echo All done.
\ No newline at end of file
cd volumes
echo "Created volumes folder."
echo "Getting all code..."
- git clone git@github.com:charleswrayjr/clr-api.git
- git clone git@github.com:charleswrayjr/clr-employee.git
+ git clone ssh://charleswray@phasecustomsoft.com:2202 /opt/git/phs-api.git
+ git clone ssh://charleswray@phasecustomsoft.com:2202 /opt/git/phs-home.git
+# git clone git@github.com:charleswrayjr/clr-employee.git
fi