Add Watchtower, fix main component import and update docs
Some checks failed
Build and Publish Docker Image / build (push) Has been cancelled
Some checks failed
Build and Publish Docker Image / build (push) Has been cancelled
This commit is contained in:
11
README.md
11
README.md
@@ -3,3 +3,14 @@
|
||||
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
||||
|
||||
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
|
||||
|
||||
## Uruchamianie (Docker Compose)
|
||||
|
||||
Na serwerze, aby uruchomić aplikację w trybie produkcyjnym wraz z automatycznymi aktualizacjami (Watchtower):
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Aplikacja będzie dostępna na porcie **8083**.
|
||||
Wszelkie zmiany w repozytorium (branch `main`) spowodują automatyczne zbudowanie nowego obrazu przez Gitea Actions i zaktualizowanie kontenera przez Watchtower.
|
||||
|
||||
@@ -10,6 +10,16 @@ services:
|
||||
networks:
|
||||
- rubic-net
|
||||
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
container_name: watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: --interval 60 --cleanup
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- rubic-net
|
||||
|
||||
networks:
|
||||
rubic-net:
|
||||
driver: bridge
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup>
|
||||
import main from './components/main.vue'
|
||||
import Main from './components/main.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user