Author SHA1 Message Date
Daniel-Garmig c7dbf5a1c3 Add Gitea Actions Support 2024-05-13 01:07:19 +02:00
2 changed files with 2 additions and 16 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
with:
context: .
push: true
tags: ${{vars.REGISTRY_INSTANCE}}/${{gitea.repository_owner}}/somniarooms:devbuild
tags: ${{vars.REGISTRY_INSTANCE}}/daniel-garmig/somniarooms:devbuild
target: frankenphp_prod
platforms: linux/amd64,linux/arm64
secrets: |
+1 -15
View File
@@ -22,18 +22,4 @@ docker compose --env-file .\.env.local up -d --wait
Stop containers
```
docker compose down --remove-orphans
```
### Prod:
You can use docker compose for prod or build and deploy a prod image.
**Build Prod image**
```
docker build -t somniarooms:prod --target frankenphp_prod .
```
**Deploy prod image**
```
docker run -d -it -p 80:80 -p 443:443 --name somniarooms --env-file ./env.prod.local somniarooms:prod
```
```