Recommendation use docker-compose like below:
Directory Structure
docker-compose.yml
version: "3"
services:
api_common:
image: toancong/phpup:2
volumes:
- .:/var/www/app
environment:
- WEBROOT=/var/www/app/public
working_dir: /var/www/app
api:
extends:
service: api_common
depends_on:
- db
ports:
- 12000:80
test:
extends:
service: api_common
depends_on:
- dbtest
# ... more services
Content type
Image
Digest
sha256:9303a13f3…
Size
151.4 MB
Last updated
over 3 years ago
docker pull toancong/phpup