Web server fo running Silverstripe 4 applications.
10K+
Contains:
Setup: In project's root:
To use multi container, create file: docker-compose.yml, with content:
version: '3'
services:
web:
build:
context: .
dockerfile: ./Dockerfile
working_dir: /var/www
ports:
- "8080:80"
volumes:
- .:/var/www/html
- ./.docker/php.ini:/usr/local/etc/php/php.ini
links:
- db
depends_on:
- db
db:
image: postgres
volumes:
- ./.docker/postgres-data:/var/lib/postgresql/data
restart: always
environment:
- PGSQL_ALLOW_EMPTY_PASSWORD=true
To run environment, just call: 'docker-compose up' from project root. Web server is exposed at localhost port 8080.
Enjoy!
Content type
Image
Digest
Size
192.1 MB
Last updated
almost 8 years ago
docker pull adamokon/php72-apache-postgres-silverstripe