chore: Fosil-en desplegatzeko beharrezko docker kontenedorea sortzen du
This commit is contained in:
20
docker-compose.yaml
Normal file
20
docker-compose.yaml
Normal 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:
|
||||
Reference in New Issue
Block a user