Db_connection_string
parent
1d47da55c7
commit
fbd56d4e33
|
|
@ -4,6 +4,6 @@
|
||||||
"MissionaryEmailAddress": "contact@oldfashionbaptistbutte.com"
|
"MissionaryEmailAddress": "contact@oldfashionbaptistbutte.com"
|
||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"OFBContext": "server=localhost;database=ofb2;user=ofbapi2;password={{db_pass}};"
|
"OFBContext": "server=localhost;database=admin_ofb_missionary;user=admin_ofbbutte;password={{dbpass}};"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,14 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
environment:
|
||||||
|
ConnectionStrings__OFBContext:
|
||||||
|
from_secret: db_connection
|
||||||
commands:
|
commands:
|
||||||
- docker build --tag ofb_api .
|
- docker build --tag ofb_api .
|
||||||
- docker rm -f ofb_api || true
|
- docker rm -f ofb_api || true
|
||||||
- docker run --name ofb_api --restart always -d -p "8222:8222" ofb_api
|
- docker run --name ofb_api --restart always -d -p "8222:8222" ofb_api
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
host:
|
host:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue