This commit is contained in:
parent
3da1ce6aa9
commit
caab73a934
2 changed files with 5 additions and 3 deletions
|
@ -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" ]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue