Skip to content

Commit

Permalink
Change docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
containerscrew committed Dec 6, 2024
1 parent 2386b6e commit efd5128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ RUN cargo xtask build --release

FROM gcr.io/distroless/cc-debian12

ENV NFLUX_CONFIG_FILE_PATH=/nflux.toml

COPY --from=build-env /app/target/release/nflux /

CMD ["./nflux"]
2 changes: 2 additions & 0 deletions docker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ services:
# Insecure, by the moment give all capabilities
- ALL
container_name: nflux
environment:
- NFLUX_CONFIG_FILE_PATH=/nflux.toml
volumes:
- ${PWD}/nflux.toml:/nflux.toml

0 comments on commit efd5128

Please sign in to comment.