https://github.com/dbjpanda/encryption_bug_test
https://github.com/dbjpanda/encryption_bug_test
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dbjpanda/encryption_bug_test
- Owner: dbjpanda
- Created: 2018-09-20T18:18:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-20T19:32:16.000Z (over 7 years ago)
- Last Synced: 2025-07-30T08:37:58.745Z (11 months ago)
- Language: PHP
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.com/dbjpanda/drupal-on-docker)
Setup Traefik (Recommended)
--------------
Enable Traefik proxy server following below commands to access your services using a "Domain name" instead of "IP:port". This is an one time setup and use with all projects. This is useful for both Drupal and Non-Drupal projects. As this project is configured to work with Traefik by default so we recommend you should set up it first if you have not done it yet. If you don't want to enable Traefik, then you need to manually provide a port number to services and access them using localhost:port.
```
docker network create -d bridge traefik-network
docker run -d --network=traefik-network -p 80:80 -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock --name=traefik traefik:latest --api --docker
```
Installation
------------
Step 1
``````
git clone https://github.com/dbjpanda/drupal-on-docker.git
```````
Step 2
````````
Rename .env.example to .env and modify the variables like PROJECT_NAME etc as per your requirements
``````````````
Step 3
````````
docker-compose up -d
````````
Step 4
````````
docker exec -it PROJECT_NAME composer install
````````
Deployment to a server through Travis CI
----------------------------------------
Step 1 (Execute below commands on your local machine while inside the repo)
``````
./server-setup.sh
``````
Step 2
``````
Change required variables inside env section of .travis.yml file
``````