-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (38 loc) · 1.03 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
services:
node:
container_name: chubbyts-framework-skeleton-node
hostname: chubbyts-framework-skeleton-node
build:
dockerfile: ./docker/development/node/Dockerfile
context: ./
args:
USER_ID: ${USER_ID:-1000}
GROUP_ID: ${GROUP_ID:-1000}
environment:
NODE_ENV: development
SERVER_HOST: '0.0.0.0'
SERVER_PORT: '1234'
SSH_AUTH_SOCK: /ssh-agent
ports:
- '1235:1235'
volumes:
- ${PWD}:/app
- ~/.bash_docker:/home/node/.bash_docker
- ~/.gitconfig:/home/node/.gitconfig
- ~/.gitignore:/home/node/.gitignore
- ~/.zsh_docker:/home/node/.zsh_docker
- $SSH_AUTH_SOCK:/ssh-agent
nginx:
container_name: chubbyts-framework-skeleton-nginx
hostname: chubbyts-framework-skeleton-nginx
image: nginx
environment:
SERVER_PORT: '443'
NODE_SERVER_HOST: 'node'
NODE_SERVER_PORT: '1234'
ports:
- '443:443'
volumes:
- ./docker/development/nginx:/etc/nginx/templates
depends_on:
- node