DONE: add cicd pipeline separate fe and be, test first on gitea (#1)
Build Docker Image / build-backend (push) Failing after 7s
Build Docker Image / build-frontend (push) Failing after 6s

Co-authored-by: ISMAIL MASSERAN <topaz@ISMAILs-Macbook.local>
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-06-30 11:01:09 +08:00
parent 00ee1b22ff
commit 507072c5ab
14 changed files with 374 additions and 219 deletions
+40
View File
@@ -0,0 +1,40 @@
networks:
gitea:
external: false
services:
server:
image: docker.gitea.com/gitea:1.26.4
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=giteauser
- GITEA__database__PASSWD=kopkb@gitea_2026
restart: always
networks:
- gitea
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on:
- db
db:
image: docker.io/library/postgres:17
restart: always
environment:
- POSTGRES_USER=giteauser
- POSTGRES_PASSWORD=kopkb@gitea_2026
- POSTGRES_DB=gitea
networks:
- gitea
volumes:
- ./postgres:/var/lib/postgresql