Skip to content

Commit

Permalink
feat: config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zrougamed committed Dec 27, 2024
1 parent c8609dc commit b98406e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 67 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ LICENSE
README.md
CONTRIBUTING.md
Dockerfile
build
build
site/
venv/
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/
ENV CGO_ENABLED 1
WORKDIR /app
COPY --from=builder /app/build /app
# COPY config.yaml /app/config.yaml # Not recommended uncomment this to add your config to the image
# COPY config.yaml /app/config.yaml # Not recommended, uncomment this to add your config to the image
EXPOSE 8080
CMD ["/app/main"]
63 changes: 0 additions & 63 deletions build/config.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
scheduler: false
scheduler: true
database:
user: "user"
password: "password"
host: "localhost"
host: "db" # to connect to the db packaged with docker compose stack
port: 3306
name: "database_name"

Expand Down

0 comments on commit b98406e

Please sign in to comment.