mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-18 04:40:59 -05:00
Compare commits
No commits in common. "b36668089501185a1b6f113784526ba9001b9f19" and "9d2d08105c27a9033f0f281ba08d95824b2b6c3c" have entirely different histories.
b366680895
...
9d2d08105c
@ -1,16 +0,0 @@
|
|||||||
# Pointless stuff
|
|
||||||
Dockerfile
|
|
||||||
docker-compose.yml
|
|
||||||
.ncurc.json
|
|
||||||
.env
|
|
||||||
.mailmap
|
|
||||||
.github
|
|
||||||
.vscode
|
|
||||||
.github
|
|
||||||
postgres-replica-stuff
|
|
||||||
README.md
|
|
||||||
ufwReject.sh
|
|
||||||
|
|
||||||
# Startup files
|
|
||||||
startWithYarn.cjs
|
|
||||||
botStartup.bat
|
|
11
Dockerfile
11
Dockerfile
@ -1,11 +0,0 @@
|
|||||||
FROM node:21.1.0-bookworm-slim
|
|
||||||
ENV YARN_VERSION 4.0.2
|
|
||||||
RUN yarn policies set-version $YARN_VERSION
|
|
||||||
RUN apt update -y && apt upgrade -y && apt install -y git
|
|
||||||
RUN npm install -g typescript
|
|
||||||
WORKDIR /Daggerbot
|
|
||||||
RUN git config --global --add safe.directory /Daggerbot
|
|
||||||
COPY tsconfig.json package.json yarn.lock .yarnrc.yml ./
|
|
||||||
RUN yarn workspaces focus
|
|
||||||
|
|
||||||
CMD [ "yarn", "node", "." ]
|
|
@ -1,12 +1,4 @@
|
|||||||
services:
|
services:
|
||||||
bot:
|
|
||||||
container_name: daggerbot-prod
|
|
||||||
build: .
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- ./.git:/Daggerbot/.git:rw
|
|
||||||
- ./src/:/Daggerbot/src/:rw
|
|
||||||
- ./dist/:/Daggerbot/dist/:rw
|
|
||||||
cache:
|
cache:
|
||||||
container_name: redis-cache
|
container_name: redis-cache
|
||||||
image: redis/redis-stack-server:7.2.0-v6
|
image: redis/redis-stack-server:7.2.0-v6
|
||||||
|
@ -1,19 +1,13 @@
|
|||||||
# This is for the Slave node, Master node is in the root directory of the same file.
|
# This is for the Slave node, Master node is in the root directory of the same file.
|
||||||
services:
|
services:
|
||||||
cache-slave:
|
|
||||||
container_name: redis-cache-slave
|
|
||||||
image: redis/redis-stack-server:7.2.0-v6
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- 6379:6379/tcp
|
|
||||||
db-slave:
|
db-slave:
|
||||||
container_name: postgres-slave
|
container_name: postgres-slave
|
||||||
image: postgres:16.1-alpine3.19
|
image: postgres:16.1-alpine3.19
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432/tcp
|
- 5433:5432/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw
|
- /var/lib/docker/volumes/daggerbot-db-slave:/var/lib/postgresql/data:rw
|
||||||
- ./configs/postgres-hba.conf:/var/lib/postgresql/data/pg_hba.conf:rw
|
- ./configs/postgres-hba.conf:/var/lib/postgresql/data/pg_hba.conf:rw
|
||||||
- ./configs/postgres.conf:/var/lib/postgresql/data/postgresql.conf:rw
|
- ./configs/postgres.conf:/var/lib/postgresql/data/postgresql.conf:rw
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user