forked from Canop/miaou
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (37 loc) · 1.09 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
version: '2'
services:
miaou:
build: .
ports:
- "80:8204"
links:
- postgres
- redis
env_file:
- docker/miaou-default.env # define default environment variables
- docker/miaou.env # allow to override or add local environment variables
# Uncomment this to trigger automatic application restart when a file is modified (consider adding the option "-L" if you use shared folders)
# command: "nodemon --use_strict main.js"
# Uncomment this to mount watched directory/files listed below (to work with "nodemon" above)
# volumes:
# - ./libs:/var/www/miaou/libs
# - ./plugins:/var/www/miaou/plugins
# - ./src:/var/www/miaou/src
# - ./test:/var/www/miaou/test
# - ./themes:/var/www/miaou/themes
# - ./views:/var/www/miaou/views
# - ./config.js:/var/www/miaou/config.js
postgres:
image: postgres
ports:
- "5432"
volumes:
- /var/lib/postgresql/data
environment:
POSTGRES_USER: miaou
POSTGRES_PASSWORD: miaou
PGPASSWORD: miaou
redis:
image: redis
ports:
- "6379"