You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
589 B
26 lines
589 B
services: |
|
|
|
api: |
|
|
|
build: |
|
context: . |
|
dockerfile: Dockerfile |
|
volumes: |
|
- /etc/localtime:/etc/localtime:ro |
|
depends_on: |
|
expose: # Usar ports en vez de expose en caso de necesitar acceder desde el host |
|
- 80 |
|
- 443 |
|
restart: unless-stopped |
|
|
|
pgsql: # Omitir en caso de conectar a base de datos externa |
|
image: postgres:11.6 |
|
expose: |
|
- 5432 |
|
environment: |
|
TZ: America/Argentina/Buenos_Aires |
|
POSTGRES_PASSWORD: postgres |
|
POSTGRES_DB: ddjj |
|
PGDATA: /var/lib/postgresql/data/pgdata |
|
restart: unless-stopped |
|
|
|
|