[IMP]docker-compose version from 2.0 to 2.2 and usage of init for nginx and odoos

This commit is contained in:
Fabien BOURGEOIS 2017-09-01 08:01:23 +02:00
parent a6c15c3afb
commit d4f0483cb2
9 changed files with 16 additions and 9 deletions

View File

@ -1,4 +1,4 @@
version: '2' version: '2.2'
services: services:

View File

@ -1,4 +1,4 @@
version: '2' version: '2.2'
services: services:
nginx: nginx:
build: . build: .

View File

@ -1,4 +1,4 @@
version: '2' version: '2.2'
services: services:
postgres95: postgres95:
image: registry.yaltik.net/postgres:yaltik95 image: registry.yaltik.net/postgres:yaltik95
@ -15,6 +15,7 @@ services:
PGDATA: /opt/odoo/pgdata PGDATA: /opt/odoo/pgdata
odoo: odoo:
init: true
build: ./odoo build: ./odoo
image: registry.yaltik.net/odoo:yaltik8 image: registry.yaltik.net/odoo:yaltik8
environment: environment:
@ -30,6 +31,7 @@ services:
POSTGRES_PASSWORD: somethingToChange POSTGRES_PASSWORD: somethingToChange
odoo9: odoo9:
init: true
build: build:
context: ./odoo context: ./odoo
dockerfile: Dockerfile.9 dockerfile: Dockerfile.9
@ -47,6 +49,7 @@ services:
POSTGRES_PASSWORD: somethingToChange POSTGRES_PASSWORD: somethingToChange
odoo10: odoo10:
init: true
build: build:
context: ./odoo context: ./odoo
dockerfile: Dockerfile.10 dockerfile: Dockerfile.10

View File

@ -1,7 +1,8 @@
version: '2' version: '2.2'
services: services:
nginx: nginx:
init: true
build: build:
context: ./nginx context: ./nginx
dockerfile: Dockerfile.dev dockerfile: Dockerfile.dev
@ -52,6 +53,7 @@ services:
LIMIT_TIME_REAL: 6000 LIMIT_TIME_REAL: 6000
openupgrade9: openupgrade9:
init: true
build: build:
context: ./odoo context: ./odoo
dockerfile: Dockerfile.openupgrade.9 dockerfile: Dockerfile.openupgrade.9
@ -69,6 +71,7 @@ services:
POSTGRES_PASSWORD: somethingToChange POSTGRES_PASSWORD: somethingToChange
openupgrade10: openupgrade10:
init: true
build: build:
context: ./odoo context: ./odoo
dockerfile: Dockerfile.openupgrade.10 dockerfile: Dockerfile.openupgrade.10

View File

@ -1,4 +1,4 @@
version: '2' version: '2.2'
services: services:
golemv2: golemv2:
build: . build: .

View File

@ -1,4 +1,4 @@
version: '2' version: '2.2'
services: services:
odoodev: odoodev:

View File

@ -1,6 +1,7 @@
version: '2' version: '2.2'
services: services:
nginx: nginx:
init: true
build: ./nginx build: ./nginx
image: registry.yaltik.net/nginx:odoo image: registry.yaltik.net/nginx:odoo
environment: environment:

View File

@ -1,4 +1,4 @@
version: '2' version: '2.2'
services: services:
postgres94: postgres94:
build: build:

View File

@ -1,4 +1,4 @@
version: '2' version: '2.2'
services: services:
radicale: radicale:
build: . build: .