28 lines
484 B
YAML
28 lines
484 B
YAML
services:
|
|
push:
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile
|
|
restart: unless-stopped
|
|
environment:
|
|
PORT: 8080
|
|
DEV: "1"
|
|
ports:
|
|
- "8201:8080"
|
|
volumes:
|
|
- ./src:/srv/app
|
|
- ./storage:/storage
|
|
- ./database:/database
|
|
|
|
php:
|
|
build:
|
|
context: .
|
|
dockerfile: ./php-test/Dockerfile
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- push
|
|
ports:
|
|
- "8123:80"
|
|
volumes:
|
|
- ./public/:/var/www/html
|