2019-09-22 19:49:31 +00:00
|
|
|
# https://riptutorial.com/docker-compose
|
2017-09-22 06:08:06 +00:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
db:
|
2022-03-07 20:35:51 +00:00
|
|
|
image: postgres
|
2017-09-23 03:09:16 +00:00
|
|
|
environment:
|
2022-03-07 20:35:51 +00:00
|
|
|
POSTGRES_USER: rosario
|
|
|
|
POSTGRES_PASSWORD: rosariopwd
|
|
|
|
POSTGRES_DB: rosariosis
|
2017-09-22 06:08:06 +00:00
|
|
|
|
|
|
|
web:
|
|
|
|
build: .
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
environment:
|
|
|
|
PGHOST: db
|
2017-09-23 03:09:16 +00:00
|
|
|
PGUSER: rosario
|
|
|
|
PGPASSWORD: rosariopwd
|
|
|
|
PGDATABASE: rosariosis
|
2021-12-31 18:28:43 +00:00
|
|
|
ROSARIOSIS_YEAR: 2021
|
2017-09-27 03:37:30 +00:00
|
|
|
# ROSARIOSIS_LANG: 'es_ES'
|