-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (32 loc) · 813 Bytes
/
docker-compose.yaml
File metadata and controls
32 lines (32 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: "3.7"
services:
prod:
build:
args:
user: www-data
uid: 1000
context: ./
dockerfile: Dockerfile.dev
ports:
- "7000:9000"
image: ws-dietacerta
container_name: ws-dietacerta
restart: unless-stopped
working_dir: /var/www/ws-dietacerta
volumes:
- ./:/var/www/ws-dietacerta
app:
build:
args:
user: www-data
# uid: 1000
context: ./
dockerfile: Dockerfile.dev
ports:
- "7000:8080"
image: ws-dietacerta
container_name: ws-dietacerta
restart: unless-stopped
command: 'php -S 0.0.0.0:8080'
volumes:
- ./:/app