16 lines
342 B
YAML
16 lines
342 B
YAML
version: '3.8'
|
|
services:
|
|
nginx:
|
|
image: library/nginx:1-alpine
|
|
volumes:
|
|
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
|
- ./:/app
|
|
working_dir: /app
|
|
ports:
|
|
- ${NGINX_PORT}:80
|
|
restart: unless-stopped
|
|
node:
|
|
image: library/node:20-alpine
|
|
volumes:
|
|
- ./:/app
|
|
working_dir: /app |