-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
49 lines (45 loc) · 1.22 KB
/
docker-compose.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3.8'
services:
web:
image: nginx:1.23.2-alpine
container_name: weather-web
working_dir: /application
volumes:
- ./environment/dev/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
- .:/application
networks:
- weather-dev
ports:
- ${EXTERNAL_WEBSERVER_PORT:-80}:80
restart: unless-stopped
depends_on:
- php
php:
build:
context: environment/dev/php
container_name: weather-php
working_dir: /application
user: ${CURRENT_UID:-1000}
volumes:
- .:/application
- ./environment/dev/php/php.ini:/usr/local/etc/php/conf.d/php.ini
networks:
- weather-dev
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped
node:
image: node:19-alpine3.15
container_name: weather-node
working_dir: /application
tty: true
volumes:
- .:/application
networks:
- weather-dev
ports:
- ${EXTERNAL_NODE_PORT:-5173}:5173
restart: unless-stopped
networks:
weather-dev:
driver: bridge