1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||||
|
create images |
||||||
|
docker build -t twentyfoursvc:1.0.1.2 . |
||||||
|
|
||||||
|
docker on windows for fake data |
||||||
|
create container |
||||||
|
docker run --name twentyfoursvc -p 8098:8098 -v D://dockrconfigs/24hourconfig/appsettings.json:/app/appsettings.json -v /etc/localtime:/etc/localtime -d twentyfoursvc:1.0.1.2 |
||||||
|
|
||||||
|
|
||||||
|
docker on linux with network bridge |
||||||
|
|
||||||
|
create birdge: |
||||||
|
docker network create twentytotwneyfour |
||||||
|
|
||||||
|
for 24hourserver |
||||||
|
docker run --name twentyfoursvc -p 8098:8098 -v /home/24hour/config/appsettings.json:/app/appsettings.json -v /etc/localtime:/etc/localtime --restart=always --link mysql --network twentytotwneyfour --network-alias twentyfour -d twentyfoursvc:1.0 |
||||||
|
|
||||||
|
for 2.0 proxyclient |
||||||
|
docker run --name twentysysproxy -p 5194:5194 -v /home/twentysysproxy/config/appsettings.json:/app/appsettings.json -v /etc/localtime:/etc/localtime --restart=always --link mysql --network twentytotwneyfour --network-alias twentyproxy -d twentysysproxy:1.1 |
||||||
Loading…
Reference in new issue