chore: se extrae servicio a archivo

This commit is contained in:
Jovany Leandro G.C bit4bit@riseup.net 2023-08-01 17:41:17 -05:00
parent 9d36e53371
commit 72cb6bd76d
3 changed files with 12 additions and 14 deletions

8
compose.base.yml Normal file
View File

@ -0,0 +1,8 @@
services:
db.dev:
image: postgres:12
environment:
- POSTGRES_USER=tryton
- POSTGRES_PASSWORD=tryton
- POSTGRES_DB=tryton

View File

@ -1,12 +1,7 @@
version: '3.9'
include:
- compose.base.yml
services:
db.dev:
image: postgres:12
environment:
- POSTGRES_USER=tryton
- POSTGRES_PASSWORD=tryton
- POSTGRES_DB=tryton
app.dev:
image: python:3.9
environment:

View File

@ -1,12 +1,7 @@
version: '3.9'
include:
- compose.base.yml
services:
db.dev:
image: postgres:12
environment:
- POSTGRES_USER=tryton
- POSTGRES_PASSWORD=tryton
- POSTGRES_DB=tryton
app.dev:
image: python:3.9
depends_on: