compose works but not integrated with Laconicd
This commit is contained in:
parent
a0f11c9d0d
commit
b31a70cd3a
13
app/data/compose/docker-compose-laconic-explorer-test.yml
Normal file
13
app/data/compose/docker-compose-laconic-explorer-test.yml
Normal file
@ -0,0 +1,13 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
laconic-explorer:
|
||||
image: cerc/laconic-explorer:local
|
||||
#env_file:
|
||||
#- ../config/laconic-explorer/TODO?
|
||||
#volumes:
|
||||
#- ../config/keycloak/import:/import
|
||||
ports:
|
||||
- "8080:8080"
|
||||
# command: ["yarn serve"]
|
||||
stdin_open: true
|
||||
@ -1,7 +1,22 @@
|
||||
version: "3.2"
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
laconicd:
|
||||
restart: unless-stopped
|
||||
laconic-explorer:
|
||||
image: cerc/laconic-explorer:local
|
||||
#env_file:
|
||||
#- ../config/laconic-explorer/TODO?
|
||||
#volumes:
|
||||
#- ../config/keycloak/import:/import
|
||||
ports:
|
||||
- "1317"
|
||||
- "8080:8080"
|
||||
command: ["yarn serve"]
|
||||
depends_on:
|
||||
explorer-nginx:
|
||||
condition: service_healthy
|
||||
explorer-nginx:
|
||||
image: nginx:1.23-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- ../config/laconic-explorer/default.conf:/etc/nginx/conf.d/default.conf
|
||||
ports:
|
||||
- "80:80"
|
||||
|
||||
@ -4,7 +4,7 @@ FROM node:16.17.1-alpine3.16
|
||||
|
||||
RUN apk --update --no-cache add git python3 alpine-sdk
|
||||
|
||||
WORKDIR /app
|
||||
WORKDIR /
|
||||
|
||||
COPY . .
|
||||
|
||||
@ -12,4 +12,6 @@ RUN echo "Building Laconic Explorer" && \
|
||||
git checkout master && \
|
||||
yarn
|
||||
|
||||
CMD ["yarn serve"]
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["yarn", "serve"]
|
||||
|
||||
0
app/data/container-build/cerc-laconic-explorer/build.sh
Normal file → Executable file
0
app/data/container-build/cerc-laconic-explorer/build.sh
Normal file → Executable file
0
app/data/container-build/cerc-nginx/build.sh
Normal file → Executable file
0
app/data/container-build/cerc-nginx/build.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user