[IMP]Docker compose with build and v2

This commit is contained in:
Fabien Bourgeois 2016-10-03 15:53:02 +02:00
parent 25eba8ed45
commit 8d185ffa5a

View File

@ -1,18 +1,20 @@
framapg:
image: framapg
environment:
POSTGRES_USER: mypads
POSTGRES_PASSWORD: 1njohpqmcZ+mimtyMkn5
# cap_add:
# - SYS_ADMIN
ports:
- "5432:5432"
volumes:
- /home/fabien/tmp/francesca/francesca:/var/lib/postgresql/data
version: '2'
services:
framapg:
image: framapg
environment:
POSTGRES_USER: mypads
POSTGRES_PASSWORD: 1njohpqmcZ+mimtyMkn5
# cap_add:
# - SYS_ADMIN
ports:
- "5432:5432"
volumes:
- /home/fabien/tmp/francesca/francesca:/var/lib/postgresql/data
frametherpad:
image: frametherpad
ports:
- "9001:9001"
links:
- framapg:framapg
frametherpad:
image: frametherpad
ports:
- "9001:9001"
links:
- framapg:framapg