Using Strapi v4 with Docker

  Рет қаралды 23,428

Strapi

Strapi

Күн бұрын

Пікірлер: 25
@韩北坡
@韩北坡 4 ай бұрын
docker image success , thank you.
@MattieBelt
@MattieBelt 2 жыл бұрын
Huge credits to Simen!
@Eventyret
@Eventyret 2 жыл бұрын
Thank you @mattias
@wariomn
@wariomn 2 жыл бұрын
Hi, good video and blog post. I'm missing one thing - what about image/media files uploaded in strapi?
@Eventyret
@Eventyret 2 жыл бұрын
If you want to do that you need to use an external provider. Or bind mount a folder on the server to the container. Hope it helps.
@wariomn
@wariomn 2 жыл бұрын
@@Eventyret yeah exactly what I had in mind, but wanted to confirm. Thanks!
@greendsnow
@greendsnow 2 жыл бұрын
Can I create Database in Docker Image after loading it to the cloud? add plugins ? or even customize it?
@ZacharyBurgess
@ZacharyBurgess 10 ай бұрын
If you run into this error: error docker-strapi-tutorial@0.1.0: The engine "node" is incompatible with this module. Expected version ">=18.0.0
@Strapi
@Strapi 9 ай бұрын
Thank you.
@thomasapfelbacher9308
@thomasapfelbacher9308 Жыл бұрын
The link to the uick start quide is malformated. so there shows up a 404
@user-me5rv7kq1s
@user-me5rv7kq1s 2 жыл бұрын
why don't you guys have strapi v4 official docker image already when it's most asked feature on votepage?
@pierreburgy7442
@pierreburgy7442 2 жыл бұрын
The reason is that Strapi is designed to be installed locally and deployed to production with your own configuration files. As a result, we recommend using the Dockerfile described in the video but build your own Docker image (dedicated to your Strapi project).
@DaveThomson
@DaveThomson Жыл бұрын
​@@pierreburgy7442configuration should be passed in. I don't want to bake config into every containter i run.
@shuaibabdulgafar1040
@shuaibabdulgafar1040 2 жыл бұрын
Any ideas how to reduce the image size? 2.7Gb is quite large
@tobi_k
@tobi_k 2 жыл бұрын
One possible solution might be to use the node:17-alpine Docker image instead as your base image… since the alpine based image is usually significantly smaller than the Debian based version this should reduce your final image size… keep in mind though that you have to use apk instead of apt to install any required dependencies.
@salvimateus
@salvimateus 2 жыл бұрын
why not use docker-compose?
@edwardalmanzar8382
@edwardalmanzar8382 2 жыл бұрын
Why not Kubernetes ? 😂
@edwardalmanzar8382
@edwardalmanzar8382 2 жыл бұрын
version: '3.7' services: postgres: container_name: postgres_container image: postgres:12 restart: always environment: POSTGRES_DB: strapi POSTGRES_USER: strapi POSTGRES_PASSWORD: strapi volumes: - postgres-data:/var/lib/postgresql/data ports: - '5433:5432' networks: - your-network strapi: container_name: strapi_container image: strapi/strapi restart: always environment: DATABASE_CLIENT: postgres DATABASE_NAME: strapi DATABASE_HOST: postgres DATABASE_PORT: 5432 DATABASE_USERNAME: strapi DATABASE_PASSWORD: strapi volumes: - ./app:/srv/app ports: - '1337:1337' networks: - your-network depends_on: - postgres pgadmin: container_name: pgadmin_container image: dpage/pgadmin4 environment: PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-your@email.com} PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-your-password} volumes: - pgadmin:/root/.pgadmin ports: - "${PGADMIN_PORT:-5050}:80" networks: - your-network restart: unless-stopped networks: your-network: driver: bridge volumes: postgres-data: pgadmin:
@Eventyret
@Eventyret 2 жыл бұрын
The written guide has a docker-compose i believe or the Heroku guide I wrote has it atleast.
@RohithAerva
@RohithAerva 3 ай бұрын
=> ERROR [ 4/10] COPY ./package.json ./yarn.lock ./ getting this error what shoud I do ?
@praweewongsa
@praweewongsa 2 жыл бұрын
Thank you sir.
@YiannisChristodoulou
@YiannisChristodoulou 2 жыл бұрын
Which VS Code theme is this?
@lostin8159
@lostin8159 2 жыл бұрын
It may be "Atom One Light Theme".
@qavinizamani5889
@qavinizamani5889 2 жыл бұрын
With npm throwing build error
Strapi Custom Fields
0:51
Strapi
Рет қаралды 17 М.
Customizing Strapi: Creating Controllers
12:30
Strapi
Рет қаралды 20 М.
Каха и лужа  #непосредственнокаха
00:15
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 10 МЛН
Конфигурация Docker для разработки | Next.js 13.4, Postgresql, strapi cms
46:19
Евгений Паромов | Front-end
Рет қаралды 12 М.
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 353 М.
How To Set Up Local DevOps Environment With Docker using Dev Containers
13:37
Strapi v4 Crash Course 2023 [ Getting Started with Strapi ]
1:10:35
Coding After Thirty
Рет қаралды 65 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 198 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 458 М.
Strapi v4 Crash Course
1:25:29
Laith Academy
Рет қаралды 152 М.
The Big Headless CMS Lie (James Mikrut)
18:14
Vercel
Рет қаралды 66 М.
Каха и лужа  #непосредственнокаха
00:15