Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
npm-wordpress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
project-templates
web
npm-wordpress
Commits
ef6684e3
Commit
ef6684e3
authored
Aug 26, 2017
by
Vadym Gidulian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled CORS
parent
8bd49935
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
docker-compose.yml
docker-compose.yml
+9
-0
No files found.
docker-compose.yml
View file @
ef6684e3
...
@@ -8,6 +8,15 @@ services:
...
@@ -8,6 +8,15 @@ services:
volumes
:
volumes
:
-
./dist:/var/www/html/wp-content/themes/$THEME_NAME:ro
-
./dist:/var/www/html/wp-content/themes/$THEME_NAME:ro
-
./.docker/html:/var/www/html
-
./.docker/html:/var/www/html
entrypoint
:
>
bash -c "\
{ \
echo '<IfModule mod_headers.c>'; \
echo 'Header set Access-Control-Allow-Origin "*"'; \
echo '</IfModule>'; \
} > /etc/apache2/conf-enabled/cors-enable.conf && \
a2enmod headers && \
docker-entrypoint.sh apache2-foreground"
environment
:
environment
:
WORDPRESS_DB_NAME
:
$DB_NAME
WORDPRESS_DB_NAME
:
$DB_NAME
WORDPRESS_DB_USER
:
$DB_USER
WORDPRESS_DB_USER
:
$DB_USER
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment