compose works but not integrated with Laconicd

This commit is contained in:
zramsay 2023-02-24 09:59:14 -05:00
parent a0f11c9d0d
commit b31a70cd3a
No known key found for this signature in database
GPG Key ID: FECD2DBFAE9DBE63
6 changed files with 36 additions and 6 deletions

View 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

View File

@ -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"

View File

@ -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"]

View File

0
app/data/container-build/cerc-nginx/build.sh Normal file → Executable file
View File