feat: deploy infrastructure + disk/drive, calendar, presentation, workspaces, onboarding, demo user
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
network_mode: host
|
||||
environment:
|
||||
POSTGRES_DB: gitea
|
||||
POSTGRES_USER: gitea
|
||||
POSTGRES_PASSWORD: ${GITEA_DB_PASS:-gitea_pass}
|
||||
command: -p 5433
|
||||
volumes:
|
||||
- gitea-db:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U gitea -h localhost -p 5433"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:latest-rootless
|
||||
network_mode: host
|
||||
environment:
|
||||
GITEA__database__DB_TYPE: postgres
|
||||
GITEA__database__HOST: localhost:5433
|
||||
GITEA__database__NAME: gitea
|
||||
GITEA__database__USER: gitea
|
||||
GITEA__database__PASSWD: ${GITEA_DB_PASS:-gitea_pass}
|
||||
GITEA__server__DOMAIN: git.voideaai.ru
|
||||
GITEA__server__HTTP_PORT: 3000
|
||||
GITEA__server__ROOT_URL: http://git.voideaai.ru:3000
|
||||
GITEA__server__SSH_DOMAIN: git.voideaai.ru
|
||||
GITEA__server__SSH_PORT: 22
|
||||
volumes:
|
||||
- gitea-data:/var/lib/gitea
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
volumes:
|
||||
gitea-db:
|
||||
gitea-data:
|
||||
Reference in New Issue
Block a user