fix: fixed docker images 74f03f96
Steve · 2026-04-07 20:09 9 file(s) · +27 −8
.github/workflows/docker.yml +1 −1
61 61
          fi
62 62
63 63
          apps=()
64 -
          for app in cellar sipp feeds parcels jotts og shrink backup; do
64 +
          for app in cellar sipp feeds parcels jotts og shrink backup posts; do
65 65
            if echo "$changed" | grep -q "^apps/${app}/"; then
66 66
              apps+=("\"${app}\"")
67 67
            fi
apps/cellar/Dockerfile +2 −1
12 12
COPY apps/og/Cargo.toml apps/og/
13 13
COPY apps/shrink/Cargo.toml apps/shrink/
14 14
COPY apps/cellar/Cargo.toml apps/cellar/
15 +
COPY apps/posts/Cargo.toml apps/posts/
15 16
16 17
# Create stubs for dependency caching
17 18
RUN mkdir -p crates/auth/src && echo '' > crates/auth/src/lib.rs \
18 -
    && for app in sipp feeds parcels jotts og shrink cellar; do \
19 +
    && for app in sipp feeds parcels jotts og shrink cellar posts; do \
19 20
         mkdir -p apps/$app/src && echo 'fn main() {}' > apps/$app/src/main.rs; \
20 21
       done
21 22
apps/feeds/Dockerfile +2 −1
13 13
COPY apps/og/Cargo.toml apps/og/
14 14
COPY apps/shrink/Cargo.toml apps/shrink/
15 15
COPY apps/cellar/Cargo.toml apps/cellar/
16 +
COPY apps/posts/Cargo.toml apps/posts/
16 17
17 18
# Create stubs for dependency caching
18 19
RUN mkdir -p crates/auth/src && echo '' > crates/auth/src/lib.rs \
19 -
    && for app in sipp feeds parcels jotts og shrink cellar; do \
20 +
    && for app in sipp feeds parcels jotts og shrink cellar posts; do \
20 21
         mkdir -p apps/$app/src && echo 'fn main() {}' > apps/$app/src/main.rs; \
21 22
       done
22 23
apps/jotts/Dockerfile +2 −1
13 13
COPY apps/og/Cargo.toml apps/og/
14 14
COPY apps/shrink/Cargo.toml apps/shrink/
15 15
COPY apps/cellar/Cargo.toml apps/cellar/
16 +
COPY apps/posts/Cargo.toml apps/posts/
16 17
17 18
# Create stubs for dependency caching
18 19
RUN mkdir -p crates/auth/src && echo '' > crates/auth/src/lib.rs \
19 -
    && for app in sipp feeds parcels jotts og shrink cellar; do \
20 +
    && for app in sipp feeds parcels jotts og shrink cellar posts; do \
20 21
         mkdir -p apps/$app/src && echo 'fn main() {}' > apps/$app/src/main.rs; \
21 22
       done
22 23
apps/og/Dockerfile +2 −1
13 13
COPY apps/og/Cargo.toml apps/og/
14 14
COPY apps/shrink/Cargo.toml apps/shrink/
15 15
COPY apps/cellar/Cargo.toml apps/cellar/
16 +
COPY apps/posts/Cargo.toml apps/posts/
16 17
17 18
# Create stubs for dependency caching
18 19
RUN mkdir -p crates/auth/src && echo '' > crates/auth/src/lib.rs \
19 -
    && for app in sipp feeds parcels jotts og shrink cellar; do \
20 +
    && for app in sipp feeds parcels jotts og shrink cellar posts; do \
20 21
         mkdir -p apps/$app/src && echo 'fn main() {}' > apps/$app/src/main.rs; \
21 22
       done
22 23
apps/parcels/Dockerfile +2 −1
13 13
COPY apps/og/Cargo.toml apps/og/
14 14
COPY apps/shrink/Cargo.toml apps/shrink/
15 15
COPY apps/cellar/Cargo.toml apps/cellar/
16 +
COPY apps/posts/Cargo.toml apps/posts/
16 17
17 18
# Create stubs for dependency caching
18 19
RUN mkdir -p crates/auth/src && echo '' > crates/auth/src/lib.rs \
19 -
    && for app in sipp feeds parcels jotts og shrink cellar; do \
20 +
    && for app in sipp feeds parcels jotts og shrink cellar posts; do \
20 21
         mkdir -p apps/$app/src && echo 'fn main() {}' > apps/$app/src/main.rs; \
21 22
       done
22 23
apps/shrink/Dockerfile +2 −1
13 13
COPY apps/og/Cargo.toml apps/og/
14 14
COPY apps/shrink/Cargo.toml apps/shrink/
15 15
COPY apps/cellar/Cargo.toml apps/cellar/
16 +
COPY apps/posts/Cargo.toml apps/posts/
16 17
17 18
# Create stubs for dependency caching
18 19
RUN mkdir -p crates/auth/src && echo '' > crates/auth/src/lib.rs \
19 -
    && for app in sipp feeds parcels jotts og shrink cellar; do \
20 +
    && for app in sipp feeds parcels jotts og shrink cellar posts; do \
20 21
         mkdir -p apps/$app/src && echo 'fn main() {}' > apps/$app/src/main.rs; \
21 22
       done
22 23
apps/sipp/Dockerfile +2 −1
13 13
COPY apps/og/Cargo.toml apps/og/
14 14
COPY apps/shrink/Cargo.toml apps/shrink/
15 15
COPY apps/cellar/Cargo.toml apps/cellar/
16 +
COPY apps/posts/Cargo.toml apps/posts/
16 17
17 18
# Create stubs for dependency caching
18 19
RUN mkdir -p crates/auth/src && echo '' > crates/auth/src/lib.rs \
19 -
    && for app in sipp feeds parcels jotts og shrink cellar; do \
20 +
    && for app in sipp feeds parcels jotts og shrink cellar posts; do \
20 21
         mkdir -p apps/$app/src && echo 'fn main() {}' > apps/$app/src/main.rs; \
21 22
       done
22 23
docker-compose.yml +12 −0
59 59
      - WATCHTOWER_INCLUDE_RESTARTING=true
60 60
      - DOCKER_API_VERSION=1.44
61 61
    command: --interval 300
62 +
  posts:
63 +
    image: ghcr.io/stevedylandev/andromeda/posts:latest
64 +
    restart: unless-stopped
65 +
    ports:
66 +
      - "3535:3000"
67 +
    volumes:
68 +
      - posts_data:/data
69 +
    env_file: apps/posts/.env
70 +
62 71
  backup:
63 72
    image: ghcr.io/stevedylandev/andromeda/backup:latest
64 73
    volumes:
84 93
  cellar_data:
85 94
    external: true
86 95
    name: cellar_cellar_data
96 +
  posts_data:
97 +
    external: true
98 +
    name: posts_posts-data