Db_connection_string
parent
1d47da55c7
commit
fbd56d4e33
|
|
@ -4,6 +4,6 @@
|
|||
"MissionaryEmailAddress": "contact@oldfashionbaptistbutte.com"
|
||||
},
|
||||
"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:
|
||||
- name: docker_sock
|
||||
path: /var/run/docker.sock
|
||||
environment:
|
||||
ConnectionStrings__OFBContext:
|
||||
from_secret: db_connection
|
||||
commands:
|
||||
- docker build --tag ofb_api .
|
||||
- docker rm -f ofb_api || true
|
||||
- docker run --name ofb_api --restart always -d -p "8222:8222" ofb_api
|
||||
|
||||
|
||||
volumes:
|
||||
- name: docker_sock
|
||||
host:
|
||||
|
|
|
|||
Loading…
Reference in New Issue