Sjednotit jména i v dockerové cestě
binárka / linux (pull_request) Successful in 11s
image / image (pull_request) Successful in 16s
testy / pytest (3.11) (pull_request) Successful in 0s
testy / pytest (3.12) (pull_request) Successful in 1s
testy / pytest (3.13) (pull_request) Successful in 1s
testy / pytest (3.14) (pull_request) Successful in 1s
binárka / linux (pull_request) Successful in 11s
image / image (pull_request) Successful in 16s
testy / pytest (3.11) (pull_request) Successful in 0s
testy / pytest (3.12) (pull_request) Successful in 1s
testy / pytest (3.13) (pull_request) Successful in 1s
testy / pytest (3.14) (pull_request) Successful in 1s
Služba, container_name, svazek a uživatel uvnitř image se jmenovaly kostky. Teď je nejlevnější chvíle to srovnat: compose se dá použít teprve od tohohle PR, takže svazek kostky-data zatím nikde neexistuje a není co migrovat. Po vydání by to už chtělo přesun dat. Uživateli zůstává uid 1000, takže vlastnictví souborů v /data nezávisí na jménu a bind mounty se nerozbijí. LXC strana (kostky.service, /opt/kostky, /var/lib/kostky) zůstává na #16 — tam přejmenování znamená migraci běžícím instalacím.
This commit is contained in:
1 parent
b1b7d1fad1
commit
826f243af7
2 files changed
+9
-9
No files matched your search
@@ -12,9 +12,9 @@
|
||||
# nezabezpečuje a do internetu nepatří.
|
||||
|
||||
services:
|
||||
kostky:
|
||||
dice-counter:
|
||||
image: gitea.spacilovi.eu/david-spacil/dice-counter:latest
|
||||
container_name: kostky
|
||||
container_name: dice-counter
|
||||
restart: unless-stopped
|
||||
|
||||
# Python jako PID 1 nesklízí osiřelé procesy a hůř reaguje na signály.
|
||||
@@ -39,8 +39,8 @@ services:
|
||||
DICE_DB: /data/dice.db
|
||||
|
||||
volumes:
|
||||
- kostky-data:/data
|
||||
- dice-counter-data:/data
|
||||
|
||||
volumes:
|
||||
# Zálohu si stáhneš rovnou z appky přes /export, takže se sem nemusí lézt.
|
||||
kostky-data:
|
||||
dice-counter-data:
|
||||
Reference in new issue
Block a user