Skip to content

Commit

Permalink
fix(config): create apps reinit
Browse files Browse the repository at this point in the history
  • Loading branch information
koromerzhin committed Feb 3, 2023
1 parent e378d0c commit 782931c
Show file tree
Hide file tree
Showing 6 changed files with 812 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
run: npm run bdd:mariadb
- name: 'Launch Lampy'
run: cd lampy && npm run exec
- name: 'Create folder'
run: npm run create:folder
- name: 'create apps'
run: npm run create:apps
- name: 'Image pull'
run: npm run docker:getpull-image
- name: 'Build containers'
Expand Down
8 changes: 0 additions & 8 deletions docker-compose-lampy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ networks:
external: true
services:
www:
environment:
DATABASE_CLIENT: mysql
DATABASE_HOST: mariadb
DATABASE_PORT: 3306
DATABASE_NAME: strapi_bdd
DATABASE_USERNAME: strapi
DATABASE_PASSWORD: password
DATABASE_SSL: 'false'
networks:
- serverlampy
- proxylampy
Expand Down
11 changes: 6 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
version: "3.4"
services:
www:
image: strapi/strapi:3.6.5
www:
image: node:18.8.0
working_dir: /app
command: >
sh -c "npm install && npm run develop"
volumes:
- ./apps:/srv/app
depends_on:
- mariadb
- ${PWD}/apps:/app:delegated
3 changes: 3 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
npx create-strapi-app /app/apps --quickstart
rm -rf /app/apps/node_modules
Loading

0 comments on commit 782931c

Please sign in to comment.