[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
1 changed files with 19 additions and 17 deletions

View File

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