forked from SimplesIP/pabx-app
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.
39 lines
859 B
39 lines
859 B
2 years ago
|
version: '3'
|
||
|
networks:
|
||
|
working:
|
||
|
driver: bridge
|
||
|
services:
|
||
|
postgresql:
|
||
|
build: postgresql
|
||
|
restart: always
|
||
|
environment:
|
||
|
- POSTGRES_USER=contacte
|
||
|
- POSTGRES_PASSWORD=ctepgSQL
|
||
|
- POSTGRES_DB=pbx
|
||
|
- LC_ALL=en_US.ISO-8859-1
|
||
|
- LC_MESSAGES=en_US.ISO-8859-1
|
||
|
- LC_MONETARY=en_US.ISO-8859-1
|
||
|
- LC_NUMERIC=en_US.ISO-8859-1
|
||
|
- LC_TIME=en_US.ISO-8859-1
|
||
|
ports:
|
||
|
- 5433:5432
|
||
|
networks:
|
||
|
- working
|
||
|
simplesip:
|
||
|
build: simplesip
|
||
|
container_name: simplesip
|
||
|
working_dir: /var/www/html/aplicativo
|
||
|
ports:
|
||
|
- 8080:80
|
||
|
privileged: true
|
||
|
environment:
|
||
|
- DB_PORT=5433
|
||
|
- DB_HOST=192.168.115.83
|
||
|
- DB_BASE=pbx
|
||
|
- DB_USER=contacte
|
||
|
- DB_PASSWD=ctepgSQL
|
||
|
depends_on:
|
||
|
- postgresql
|
||
|
networks:
|
||
|
- working
|