added docker update

This commit is contained in:
Chris
2025-09-05 15:28:43 -07:00
parent c78fc83f4e
commit 40228dd298
2 changed files with 19 additions and 2 deletions
+1 -2
View File
@@ -45,7 +45,6 @@ RUN bundle install && \
rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
bundle exec bootsnap precompile --gemfile
RUN gem install foreman
# Install javascript dependencies
ARG NODE_VERSION=20.11.0
ARG YARN_VERSION=1.22.21
@@ -87,4 +86,4 @@ COPY --from=build /usr/local/bin/telepresence /usr/local/bin/telepresence
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
EXPOSE 3000
CMD ["./bin/run"]
CMD ["./bin/rails", "server"]
+18
View File
@@ -36,5 +36,23 @@ services:
volumes:
- ${DOCKER_SOCKET:-/var/run/docker.sock}:/var/run/docker.sock
worker:
build:
context: .
dockerfile: Dockerfile
command: bundle exec good_job start
depends_on:
- postgres
environment:
- DATABASE_URL=postgres://postgres:password@postgres:5432
- CANINE_USERNAME=${CANINE_USERNAME}
- CANINE_PASSWORD=${CANINE_PASSWORD}
- LOCAL_MODE=true
- BOOT_MODE=local
- SECRET_KEY_BASE=a38fcb39d60f9d146d2a0053a25024b9
- APP_HOST=http://localhost:${PORT:-3000}
volumes:
- ${DOCKER_SOCKET:-/var/run/docker.sock}:/var/run/docker.sock
volumes:
postgres: