chore: Fosil-en desplegatzeko beharrezko docker kontenedorea sortzen du

This commit is contained in:
2025-10-11 17:43:23 +02:00
parent 35313e57de
commit d6f4f2ebb4
2 changed files with 55 additions and 0 deletions

20
docker-compose.yaml Normal file
View File

@@ -0,0 +1,20 @@
services:
strapi:
build:
context: .
dockerfile: dockerfile
container_name: strapi
ports:
- "1337:1337"
environment:
NODE_ENV: production
# Puedes definir otras variables según tu configuración de Strapi
# APP_KEYS: "your_app_keys"
# API_TOKEN_SALT: "your_api_token_salt"
# ADMIN_JWT_SECRET: "your_admin_jwt_secret"
volumes:
- strapi_data:/app/back/.tmp
restart: unless-stopped
volumes:
strapi_data: