ssh docker-user@192.168.100.3 "(docker stop \$(docker ps -q -f ancestor=docker-ci-cd)) && echo CONTAINER docker-ci-cd STOPPED || echo CONTAINER docker-ci-cd NOT FOUND"
ssh $REMOTE_SERVER_ADDRESS "(docker stop \$(docker ps -q -f ancestor=$CI_PROJECT_NAME)) && echo CONTAINER $CI_PROJECT_NAME STOPPED || echo CONTAINER $CI_PROJECT_NAME NOT FOUND"
apt install cloud-utils
growpart /dev/sda 3
pvresize /dev/sda3
lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
/usr/sbin/nologin
или /bin/false
mark:x:1001:1001:mark,,,:/home/mark:/bin/bash
[--] - [--] [--] [-----] [--------] [--------]
| | | | | | |
| | | | | | +-> 7. Login shell
| | | | | +----------> 6. Home directory
| | | | +--------------------> 5. GECOS
| | | +--------------------------> 4. GID
| | +-------------------------------> 3. UID
| +-----------------------------------> 2. Password
+----------------------------------------> 1. Username
@startuml
interface Chat {
id: string
type: ChatType
name: string
participantCount: int
invitationLink: string
isAllowAccessByInvitationLink: bool
isAllowAccessInvitations: bool
isInArchive: bool
createadAt: Timestamp
updatedAt: Timestamp
}
enum ChatType {
Chat = "chat" // чат
Community = "community" // сообщество
Event = "event" // событие
Course = "course" // курс
}
Chat -> ChatType
@enduml