-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
29 lines (28 loc) · 675 Bytes
/
compose.yml
File metadata and controls
29 lines (28 loc) · 675 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
services:
nginx:
image: ghcr.io/php-ug/nginx:latest
build:
context: .docker/nginx
dockerfile: Dockerfile
volumes:
- .docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
- .:/var/www/php.ug
ports:
- 80:80
- 443:443
links:
- php:php
php:
image: ghcr.io/php-ug/php:latest
build:
context: .docker/php
dockerfile: Dockerfile
env_file:
- .env
links:
- smtp:smtp
node:
image: node:20
volumes:
- .:/app
working_dir: /app