Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7dbf5a1c3 |
@@ -38,7 +38,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{vars.REGISTRY_INSTANCE}}/${{gitea.repository_owner}}/somniarooms:devbuild
|
tags: ${{vars.REGISTRY_INSTANCE}}/daniel-garmig/somniarooms:devbuild
|
||||||
target: frankenphp_prod
|
target: frankenphp_prod
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
secrets: |
|
secrets: |
|
||||||
|
|||||||
@@ -23,17 +23,3 @@ Stop containers
|
|||||||
```
|
```
|
||||||
docker compose down --remove-orphans
|
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
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user