update volumes
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-04-19 14:34:21 +02:00
parent 3da1ce6aa9
commit caab73a934
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 5 additions and 3 deletions

View file

@ -20,9 +20,9 @@ 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
COPY --from=builder /usr/src/ewp/templates /app/templates
COPY --from=builder /usr/src/ewp/data /app/data
RUN mkdir /app/config \
&& mkdir /app/data \
&& touch /app/config/config.toml
CMD [ "./ewp" ]

View file

@ -17,7 +17,8 @@ services:
image: git.mylloon.fr/anri/mylloon.fr:latest
container_name: EWP
volumes:
- /here/your/path:/app/config
- /here/your/path/config:/app/config
- /here/your/path/data:/app/data
ports:
- 80:8080
restart: unless-stopped
@ -53,7 +54,8 @@ services:
network_mode: bridge
hostname: ewp
volumes:
- /here/your/path/ewp/app:/app/config
- /here/your/path/ewp/app/config:/app/config
- /here/your/path/ewp/app/data:/app/data
ports:
- 99:8080
restart: unless-stopped