Добавил автосборку и деплой
Some checks failed
Create and publish a Docker image / Publish image (push) Failing after 6s
Create and publish a Docker image / Deploy image (push) Failing after 3s

This commit is contained in:
2023-08-24 22:19:25 +03:00
parent 90a3478c85
commit 21461cc298
3 changed files with 135 additions and 8 deletions

View File

@@ -1,2 +1,28 @@
# FichaBackend
# Docker
```bash
docker run -d -p 82:80 \
--name FichaBackend \
--restart=always \
-e CONNECTION_STRING='Host=192.168.0.46;Port=5432;Database=backend;Username=prod;Password=' \
-e TZ=Europe/Moscow \
git.zetcraft.ru/fichahackaton/fichabackend:main
```
# Docker Compose
```yml
version: '3.3'
services:
fichahackaton:
ports:
- '82:80'
container_name: FichaBackend
restart: always
environment:
- CONNECTION_STRING=Host=192.168.0.46;Port=5432;Database=backend;Username=prod;Password=
- TZ=Europe/Moscow
image: 'git.zetcraft.ru/fichahackaton/fichabackend:main'
```