generated from grupotesseract/api-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (49 loc) · 971 Bytes
/
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
50
51
52
53
54
version: '2'
services:
app:
build:
context: ./docker/app
dockerfile: Dockerfile
image: vessel/app
ports:
- '${APP_PORT}:80'
environment:
CONTAINER_ENV: '${APP_ENV}'
XDEBUG_HOST: '${XDEBUG_HOST}'
WWWUSER: '${WWWUSER}'
volumes:
- .:/var/www/html
networks:
- vessel
node:
build:
context: ./docker/node
dockerfile: Dockerfile
args:
uid: '${WWWUSER}'
image: vessel/node
user: node
ports:
- '3000:3000'
volumes:
- .:/var/www/html
networks:
- vessel
pgsql:
image: postgres:10.0
ports:
- '${PGSQL_PORT}:5432'
environment:
POSTGRES_USER: '${DB_USERNAME}'
POSTGRES_PASSWORD: '${DB_PASSWORD}'
POSTGRES_DB: '${DB_DATABASE}'
volumes:
- vesselpgsql:/var/lib/postgresql/data
networks:
- vessel
networks:
vessel:
driver: 'bridge'
volumes:
vesselpgsql:
driver: 'local'