chore(docker): dockerize app, add workflow to push image on gitea registry
Some checks failed
Build and Push Docker Images / Build app image (push) Failing after 3m4s
Build and Push Docker Images / Build database image (push) Failing after 15s

This commit is contained in:
thibaud-leclere
2026-03-28 09:22:47 +01:00
parent a196fac6c6
commit 21b0f681be
12 changed files with 285 additions and 84 deletions

View File

@@ -0,0 +1,22 @@
services:
app:
build:
context: .
dockerfile: docker/app/Dockerfile
target: dev
environment:
APP_ENV: dev
volumes:
- .:/app
- vendor:/app/vendor
ports:
- "80:80"
database:
ports:
- "0.0.0.0:5432:5432"
volumes:
vendor: