41 lines
1.0 KiB
Markdown
41 lines
1.0 KiB
Markdown
---
|
|
tags: docker
|
|
---
|
|
|
|
# description
|
|
|
|
docker and public endpoint
|
|
|
|
## strategy
|
|
|
|
```mermaid
|
|
graph LR
|
|
A["next build"]
|
|
B["docker build"]
|
|
A --> B --> deploy --> run
|
|
```
|
|
|
|
1. build on develop machine
|
|
1. docker build on develop machine (include source code)
|
|
1. push image to production machine
|
|
1. run image to production machine
|
|
|
|
## endpoint table
|
|
|
|
| function | address | |
|
|
| -------- | ---------------------------- | ---- |
|
|
| DB | demo_ls_db.louislabs.com | 3013 |
|
|
| cms | demo_ls_cms.louislabs.com | 3011 |
|
|
| mobile | demo_ls_mobile.louislabs.com | 3012 |
|
|
| T.B.A. | T.B.A. | 3014 |
|
|
| T.B.A. | T.B.A. | 3015 |
|
|
| T.B.A. | T.B.A. | 3016 |
|
|
| T.B.A. | T.B.A. | 3017 |
|
|
| T.B.A. | T.B.A. | 3018 |
|
|
| T.B.A. | T.B.A. | 3019 |
|
|
| T.B.A. | T.B.A. | 3010 |
|
|
|
|
## TODO
|
|
|
|
pending ssl certificate, currently using shared affine.louislabs.com
|