This commit is contained in:
2023-12-29 00:27:12 +09:00
parent b4a0b72f66
commit c31a16843d
35 changed files with 451 additions and 261 deletions

View File

@ -15,7 +15,7 @@ WORKDIR /app
RUN apk add --no-cache sqlite-libs mariadb-connector-c libgcc
COPY --from=builder /app/bootstrap .
EXPOSE 3030
ENV PORT 3030
EXPOSE 30303
ENV PORT 30303
CMD ["sh", "-c", "./bootstrap"]

View File

@ -7,4 +7,6 @@ services:
dockerfile: docker/dev/Dockerfile
image: learnsteam/cslms-api:dev
ports:
- "3030:3030"
- "30303:30303"
network_mode: "host"
restart: on-failure

View File

@ -8,3 +8,5 @@ services:
image: learnsteam/cslms-api:local
ports:
- "3030:3030"
network_mode: "host"
restart: on-failure

View File

@ -15,7 +15,7 @@ WORKDIR /app
RUN apk add --no-cache sqlite-libs mariadb-connector-c libgcc
COPY --from=builder /app/bootstrap .
EXPOSE 3030
ENV PORT 3030
EXPOSE 30303
ENV PORT 30303
CMD ["sh", "-c", "./bootstrap"]

View File

@ -7,4 +7,6 @@ services:
dockerfile: docker/prod/Dockerfile
image: learnsteam/cslms-api
ports:
- "3030:3030"
- "30303:30303"
network_mode: "host"
restart: on-failure