Giter Site home page Giter Site logo

multicontainerwordpress's Introduction

page_type languages products description urlFragment
sample
yaml
azure
Multi-container using Docker Compose in Azure Web App for Containers.
docker-compose-web-app-sample

Multi-container using Docker Compose in Azure Web App for Containers

This custom image is based on the 'official image' of WordPress from Docker Hub.

The following changes have been made in this custom image:

Setting up multi-container configuration for Web App for Containers

Follow the tutorial here.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

multicontainerwordpress's People

Contributors

cephalin avatar frode avatar microsoftopensource avatar msangapu-msft avatar msftgits avatar supernova-eng avatar v-rajagt-zz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

multicontainerwordpress's Issues

How to add server_name variable in this repository to map with custom domain in app service

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

issues on the step create an Azure Database for MySQL-server

[X] bug report

Minimal steps to reproduce

on the step create an Azure Database for MySQL-server
Command:
▶ az mysql server create --resource-group myResourceGroup --name <mysql-server-name> --location "South Central US" --admin-user adminuser --admin-password My5up3rStr0ngPaSw0rd! --sku-name B_Gen4_1 --version 5.7

log messages given by the failure

Deployment failed. Correlation ID: 0df20b54-0307-427c-9639-fd8fdfd6c8f8. Gen4 hardware is not supported for this region.

Also: using My5up3rStr0ngPaSw0rd! did not work properly (this could however be my setup causing the issue, but if anybody runs into a similar problem it could be worth mentioning) this was solved it by removing ! from --admin-password ending.

Expected/desired behavior

Give suggestion of similar available hardware in the choosen region

OS and Version?

MacOs Mojave & Iterm

Mention any other details that might be useful

I solved this issue by using:
--sku-name B_Gen5_2 --version 5.7
Full command:

▶ az mysql server create --resource-group ComposeTest --name composetestmysqldatabase123  --location "North Europe" --admin-user adminuser --admin-password My5up3rStr0ngPaSw0rd --sku-name B_Gen5_2 --version 5.7

Dockerfile in the repository seems to be out-dated

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Go to the Dockerfile in the repository.

Any log messages given by the failure

n/a

Expected/desired behavior

The Dockerfile in the repository is NOT the same used to build the mcr.microsoft.com/azuredocs/multicontainerwordpress:latest image (shown in the tutorial).

OS and Version?

n/a

Versions

Latest

Mention any other details that might be useful

In short, the docker image published in dockerhub (mcr.microsoft.com/azuredocs/multicontainerwordpress:latest) was built by a different Dockerfile than the one located in this repository, which seems to be very out-dated (3 years old). Please update the repository so we can see the latest Dockerfile.


Thanks! We'll be in touch soon.

Build fail with checksum did NOT match

Hello,
I want to activate mod_header module on apache and I want to do a custom build.
First I try to build the original docker locally on docker 4 windows but I cannot. Then I decide to build it on docker hub but I have the same trouble.
Error is :
sha1sum: WARNING: 1 computed checksum did NOT match
The command '/bin/sh -c set -ex; curl -o wordpress.tar.gz -fSL "https://wordpress.org/wordpress-${WORDPRESS_VERSION}.tar.gz"; echo "$WORDPRESS_SHA1 *wordpress.tar.gz" | sha1sum -c -; tar -xzf wordpress.tar.gz -C /usr/src/; rm wordpress.tar.gz; chown -R www-data:www-data /usr/src/wordpress' returned a non-zero code: 1

Can you please provide a bit of guidance ?

Thanks a lot

Kubernetes config doesn't work anymore on azure

Hello,
Redis container seem to fail to load on kubernetes config on azure website.
Docker error
2019-04-12 12:11:48.466 ERROR - Container create failed for ******__a4f9_redis_0 with System.AggregateException, One or more errors occurred.
InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"conflicting options: dns and the network mode"}

Can you confirm ?
Thanks

Checksum returns non zero exit code

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

build the Dockerfile

Any log messages given by the failure

Step 10/13 : RUN set -ex; 	curl -o wordpress.tar.gz -fSL "https://wordpress.org/wordpress-${WORDPRESS_VERSION}.tar.gz"; 	echo "$WORDPRESS_SHA1 *wordpress.tar.gz" | sha1sum -c -; 	tar -xzf wordpress.tar.gz -C /usr/src/; 	rm wordpress.tar.gz; 	chown -R www-data:www-data /usr/src/wordpress
 ---> Running in 1f56875aa124
+ curl -o wordpress.tar.gz -fSL https://wordpress.org/wordpress-4.9.6.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8535k  100 8535k    0     0  2114k      0  0:00:04  0:00:04 --:--:-- 2114k
+ echo 6992f19163e21720b5693bed71ffe1ab17a4533a *wordpress.tar.gz
+ sha1sum -c -
wordpress.tar.gz: FAILED
sha1sum: WARNING: 1 computed checksum did NOT match
The command '/bin/sh -c set -ex; 	curl -o wordpress.tar.gz -fSL "https://wordpress.org/wordpress-${WORDPRESS_VERSION}.tar.gz"; 	echo "$WORDPRESS_SHA1 *wordpress.tar.gz" | sha1sum -c -; 	tar -xzf wordpress.tar.gz -C /usr/src/; 	rm wordpress.tar.gz; 	chown -R www-data:www-data /usr/src/wordpress' returned a non-zero code: 1

Expected/desired behavior

That the dockerfile builds succesfully

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

MacOS Catalina

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Default config : mod_header activated

Hello, it seem that mod_header is not available on apache config. Is it possible to activate it directly in your config ?

For info, this is the line that you have to add in .htaccess to activate it for your site

Security : need mod_header activated in apache config

Header append X-FRAME-OPTIONS "SAMEORIGIN"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.