This commit is contained in:
JMARyA 2025-06-28 03:08:16 +02:00
parent 69e1f5d458
commit 669b3724e1
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
8 changed files with 804 additions and 345 deletions

View file

@ -1,26 +1,14 @@
services:
pacco:
pacco-makepkg:
build: .
ports:
- "8080:8000"
privileged: true
environment:
- RUST_LOG=info
- PACCO_HOST=example.com
- PACCO_TOKEN=token
volumes:
- ./owl_db:/owl_db
- ./packages:/packages
- ./repositories:/repositories
- type: tmpfs
target: /build
tmpfs:
size: 42949672960 # 40GB
env_file: .env
postgres:
image: timescale/timescaledb:latest-pg16
restart: always
ports:
- 5432:5432
volumes:
- ./db:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=pass
- POSTGRES_DB=pacco_makepkg