Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fd80b61
[MERGE] rust => main #8
YetAnotherMechanicusEnjoyer Aug 17, 2025
ebf35e0
[MERGE] rust => main #11
YetAnotherMechanicusEnjoyer Aug 18, 2025
2da5372
[MERGE] rust => main #12
YetAnotherMechanicusEnjoyer Aug 20, 2025
25e6311
[MERGE] rust => main #13
YetAnotherMechanicusEnjoyer Aug 23, 2025
251d324
[MERGE] tbrpg => main #14
YetAnotherMechanicusEnjoyer Aug 23, 2025
e57536b
[MERGE] tbrpg => main #16
YetAnotherMechanicusEnjoyer Aug 24, 2025
9976790
[MERGE] tbrpg => main #17
YetAnotherMechanicusEnjoyer Aug 25, 2025
ecf52f3
[RENAME] Rust.yml => rust.yml
YetAnotherMechanicusEnjoyer Aug 25, 2025
7e2d4f3
[RENAME] Node.js.yml => node.js.yml
YetAnotherMechanicusEnjoyer Aug 25, 2025
643e8e5
[ADD] .github/workflows/docker.yml
YetAnotherMechanicusEnjoyer Aug 25, 2025
0de5ad1
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
b16c159
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
73b33a4
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
966d3f4
[UPDATE] docker-compose.yml
YetAnotherMechanicusEnjoyer Aug 25, 2025
2a2172a
[FIX] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
f527b3c
[UPDATE] discord/Dockerfile
YetAnotherMechanicusEnjoyer Aug 25, 2025
f260568
[FIX] discord/Dockerfile
YetAnotherMechanicusEnjoyer Aug 25, 2025
d83385c
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
4885bfd
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
9dfe1c1
[UPDATE] .dockerignore
YetAnotherMechanicusEnjoyer Aug 25, 2025
e20df3a
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
b7f01c1
[UPDATE] Docker Compos CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
43addc4
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
4ff201f
[UPDATE] Node.js CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
d0b868c
[UPDATE] Rust CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
b1fb230
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
2ee9225
[UPDATE] Node.js CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
7fbb688
[UPDATE] Rust CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
b3b79b7
[UPDATE] Docker Compose CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
eaaecd3
[UPDATE] Node.js CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
e9652f6
[UPDATE] Rust CI
YetAnotherMechanicusEnjoyer Aug 25, 2025
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
37 changes: 37 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Docker Compose CI

run-name: Docker Compose CI | ${{ github.event_name }} by ${{ github.actor }} on '${{ github.ref_name }}'

on:
push:
pull_request:
branches: ["main"]

jobs:
docker-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Create .env file from secret
run: echo "${{ secrets.PROD_ENV_FILE }}" > .env

- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose

- name: Generate Cargo.lock
run: |
cd discord/
cargo generate-lockfile

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker Compose services
run: docker-compose build

- name: Run Docker Compose services
run: docker-compose up --detach
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Node.js CI

run-name: Node.js CI | ${{ github.event_name }} by ${{ github.actor }} on '${{ github.ref_name }}'

on:
push:
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/Rust.yml → .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Rust CI

run-name: Rust CI | ${{ github.event_name }} by ${{ github.actor }} on '${{ github.ref_name }}'

on:
push:
pull_request:
Expand Down
1 change: 0 additions & 1 deletion discord/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
target/
Makefile.toml
4 changes: 2 additions & 2 deletions discord/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:slim-bookworm AS builder
FROM rust:1.88.0-slim-bookworm AS builder

WORKDIR /app

Expand All @@ -20,7 +20,7 @@ COPY . .

RUN cargo build --release --locked

FROM rust:slim-bookworm
FROM rust:1.88.0-slim-bookworm

RUN apt-get update && \
apt-get install -y \
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
build:
context: ./discord
dockerfile: Dockerfile
image: synapsebot/discord_bot:latest
container_name: synapse_discord_bot
restart: on-failure
depends_on:
Expand All @@ -27,6 +28,7 @@ services:
build:
context: ./twitch
dockerfile: Dockerfile
image: synapsebot/twitch_app:latest
container_name: synapse_twitch_app
restart: on-failure
depends_on:
Expand Down