Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "ARC3"]
path = ARC3
url = https://github.com/ARCv3/ARC3
[submodule "unity"]
path = unity
url = https://github.com/ARCv3/unity
17 changes: 17 additions & 0 deletions docker-compose-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
env_file:
- .env
image: elestio/uptime-kuma:latest
environment:
- PORT=3030
restart: always
healthcheck:
disable: true
Expand Down Expand Up @@ -89,6 +91,21 @@ services:
networks:
- common-net-stg

unity-stg:
environment:
- PORT=3000
depends_on:
- arc-api-stg
image: unity
build:
dockerfile: unity.Dockerfile
container_name: unity-stg
restart: on-failure
ports:
- 3050:3000
networks:
- common-net-stg

arc-tasks-stg:
env_file:
- .env
Expand Down
1 change: 1 addition & 0 deletions unity
Submodule unity added at c48eb8
13 changes: 13 additions & 0 deletions unity.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node

RUN apt-get update && apt-get install -y npm
WORKDIR /app

COPY ./unity/package*.json .
RUN node --max-old-space-size=1000 $(which npm) ci

COPY ./unity/ .
RUN node --max-old-space-size=1000 $(which npm) run build

ENTRYPOINT [ "npm", "run", "start" ]

Loading