Skip to content

Commit

Permalink
ca
Browse files Browse the repository at this point in the history
  • Loading branch information
sshresthadh committed Jul 14, 2024
1 parent 6bf6a22 commit 3d8864a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions all_in_docker/client/dock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node:14-alpine
WORKDIR /app
COPY . .
RUN npm install
EXPOSE 3000
CMD ["npm", "run", "start"]
2 changes: 1 addition & 1 deletion all_in_docker/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ app.use(cors({

const db = mysql.createPool({
port: 3306,
host: "07b5658e6257",
host: "12b6495f11e8",
user: "root",
password: "mauFJcuf5dhRMQrjj",
database: "employeeSystem",
Expand Down
2 changes: 1 addition & 1 deletion ansible/mymachines.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[test]
44.202.100.114
54.159.48.91
8 changes: 4 additions & 4 deletions ansible/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
- name: Test-Playbook
hosts: test
hosts: localhost
remote_user: ubuntu
become: yes
vars:
# path of the ssh key in local
ansible_ssh_private_key_file: "/Users/sshrestha/Downloads/keys/new/promet.pem"
# vars:
# # path of the ssh key in local
# ansible_ssh_private_key_file: "/Users/sshrestha/Downloads/Devops-Keys/alert.pem"
roles:
- prometheus
- grafana
Expand Down

0 comments on commit 3d8864a

Please sign in to comment.