Author SHA1 Message Date
Daniel-Garmig 72a9f69799 Generate Nightly Build - 202405131822 2024-05-13 18:22:21 +02:00
Daniel-Garmig faea267b1f Add Gitea Actions Support. 2024-05-13 18:14:32 +02:00
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
with:
context: .
push: true
tags: ${{vars.REGISTRY_INSTANCE}}/daniel-garmig/somniarooms:devbuild
tags: ${{vars.REGISTRY_INSTANCE}}/${{gitea.repository_owner}}/somniarooms:devbuild
target: frankenphp_prod
platforms: linux/amd64,linux/arm64
secrets: |
+14
View File
@@ -23,3 +23,17 @@ 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
```