stack for the laconic.com website (#590)
* website stack * use a release, update ports * use deployments feature for website
This commit is contained in:
parent
3291c16466
commit
c06be6da81
8
app/data/compose/docker-compose-laconic-dot-com.yml
Normal file
8
app/data/compose/docker-compose-laconic-dot-com.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: "3.2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
laconic-dot-com:
|
||||||
|
image: cerc/laconic-dot-com:local
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "3000"
|
4
app/data/container-build/cerc-laconic-dot-com/build.sh
Executable file
4
app/data/container-build/cerc-laconic-dot-com/build.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Build the laconic.com image
|
||||||
|
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
||||||
|
docker build -t cerc/laconic-dot-com:local -f ${CERC_REPO_BASE_DIR}/laconic.com/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/laconic.com
|
9
app/data/stacks/laconic-dot-com/README.md
Normal file
9
app/data/stacks/laconic-dot-com/README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# laconic-dot-com
|
||||||
|
|
||||||
|
```
|
||||||
|
laconic-so --stack laconic-dot-com setup-repositories
|
||||||
|
laconic-so --stack laconic-dot-com build-containers
|
||||||
|
laconic-so --stack laconic-dot-com deploy init --output laconic-website-spec.yml --map-ports-to-host any-same
|
||||||
|
laconic-so --stack laconic-dot-com deploy create --spec-file laconic-website-spec.yml --deployment-dir lx-website
|
||||||
|
laconic-so deployment --dir lx-website start
|
||||||
|
```
|
8
app/data/stacks/laconic-dot-com/stack.yml
Normal file
8
app/data/stacks/laconic-dot-com/stack.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: "0.1"
|
||||||
|
name: laconic-dot-com
|
||||||
|
repos:
|
||||||
|
- github.com/LaconicNetwork/laconic.com@v0.0.1
|
||||||
|
containers:
|
||||||
|
- cerc/laconic-dot-com
|
||||||
|
pods:
|
||||||
|
- laconic-dot-com
|
Loading…
Reference in New Issue
Block a user