Skip to content

Commit

Permalink
Include migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Aug 15, 2024
1 parent 86fd1a7 commit bd80699
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ USER appuser

# Copy the executable from the "build" stage.
COPY --from=build /bin/server /bin/
COPY ./migrations /app/migrations

# Expose the port that the application listens on.
EXPOSE 8000
Expand Down
3 changes: 1 addition & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ services:
- RUST_BACKTRACE=1
volumes:
- ./config:/app/config
- ./migrations:/app/migrations
- cargo-registry:/usr/local/cargo/registry
- cargo-git:/usr/local/cargo/git/db
- build-cache:/app/target
Expand Down Expand Up @@ -60,4 +59,4 @@ volumes:
db-plugins:
cargo-registry:
cargo-git:
build-cache:
build-cache:
2 changes: 1 addition & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
relay: wss://relay.nos.social
event_channel_size: 100
event_workers: 2
event_workers: 10
follow_change_channel_size: 10000
follow_change_workers: 50
worker_timeout_secs: 10

0 comments on commit bd80699

Please sign in to comment.