Skip to content

Instantly share code, notes, and snippets.

View webseo-onilne's full-sized avatar

Web SEO Online webseo-onilne

View GitHub Profile
PS C:\Users\XPS-User\Documents\mtg2> docker-compose up
Creating network "mtg2_default" with the default driver
Building app
Step 1/11 : FROM nginx:alpine
alpine: Pulling from library/nginx
911c6d0c7995: Pull complete
f0ee8b734032: Pull complete
f8840ac64af5: Pull complete
9f8c19504ab0: Pull complete
Digest: sha256:56a9367b64eaef37894842a6f7a19a0ef8e7bd5de964aa844a70b3e2d758033c
version: '3.1'
services:
app:
image: 'mtg-dash'
build: '.'
ports:
- 3000:80
node:
# For angular app
FROM nginx:alpine
COPY mgt-dash/nginx.conf /etc/nginx/nginx.conf
WORKDIR /usr/share/nginx/html
COPY mgt-dash/dist/mtg-dash .
# For node express server
@webseo-onilne
webseo-onilne / flatsome3-custom-post-type-support.php
Last active March 6, 2024 15:58
Integrate custom post types into Flatsome 3 page builder application using a child theme; providing: (1.) Page Builder Editor support for custom post types, and (2.) Integration with page builder post element components.
<?php
/**
* Integrate custom post types into Flatsome 3 page builder application using a child theme.
*
* This will provide:
*
* 1. Page Builder Editor support for custom post types
* 2. Integration with page builder post element components
**/