ajout d'un docker compose pour tester en local et ajout d'un argument de build dockerfile

This commit is contained in:
styve Lioumba
2025-11-21 12:11:19 +01:00
parent b11528e6a7
commit 8114753b88
10 changed files with 1203 additions and 2 deletions

21
compose.yaml Normal file
View File

@@ -0,0 +1,21 @@
networks:
pb-net:
name: pb
services:
pocketbase:
image: elestio/pocketbase:latest
container_name: pocketbase
user: root
environment:
ADMIN_EMAIL: "admin@example.com"
ADMIN_PASSWORD: "password1234"
networks:
- pb-net
volumes:
- ./pb/data:/pb/data
- ./pb/schemas:/schemas
- ./pb/init.sh:/init.sh
entrypoint: ["/bin/sh", "/init.sh"]
ports:
- "8090:8090"