volume support
Some checks failed
ci/woodpecker/push/publish Pipeline failed

This commit is contained in:
Mylloon 2023-02-16 22:04:53 +01:00
parent c419f92334
commit 5f3c8ed68c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 4 additions and 0 deletions

View file

@ -15,4 +15,6 @@ COPY --from=builder /usr/local/cargo/bin/ewp /app/ewp
COPY --from=builder /usr/src/ewp/LICENSE /app/LICENSE
COPY --from=builder /usr/src/ewp/static /app/static
RUN touch /app/config/config.toml
CMD [ "./ewp" ]

View file

@ -15,6 +15,8 @@ services:
ewp:
image: git.mylloon.fr/anri/mylloon.fr:latest
container_name: EWP
volumes:
- /here/your/path:/app/config
ports:
- 80:8080
restart: unless-stopped