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.
|
|
|
|
# -------------------
|
|
|
|
|
# SIMPLESIP
|
|
|
|
|
# -------------------
|
|
|
|
|
## BUILD IMAGE ##
|
|
|
|
|
# docker image build -t simplesip .
|
|
|
|
|
#
|
|
|
|
|
# -------------------
|
|
|
|
|
# APLICA<EFBFBD><EFBFBD>O
|
|
|
|
|
# -------------------
|
|
|
|
|
## BUILD IMAGE ##
|
|
|
|
|
# docker image build -t aplicativo .
|
|
|
|
|
#
|
|
|
|
|
# ## RUN CONTAINER ##
|
|
|
|
|
# docker run -d --name aplicativo --privileged -p 8080:80 -e DB_PORT=5433 -e DB_HOST=192.168.115.240 -e DB_BASE=pbx -e DB_USER=contacte -e DB_PASSWD=ctepgSQL aplicativo
|
|
|
|
|
#
|
|
|
|
|
# --------------------
|
|
|
|
|
# BANCO DE DADOS
|
|
|
|
|
# --------------------
|
|
|
|
|
# ## BUILD IMAGE ##
|
|
|
|
|
# docker image build -t simplesip-postgres .
|
|
|
|
|
#
|
|
|
|
|
# ## RUN CONTAINER ##
|
|
|
|
|
# docker run --name simplesip-postgres --privileged -e POSTGRES_DB=pbx -e POSTGRES_USER=contacte -e POSTGRES_PASSWORD=ctepgSQL -p 5433:5432 -d simplesip-postgres
|
|
|
|
|
#
|
|
|
|
|
# --------------------
|
|
|
|
|
# PORTAINER
|
|
|
|
|
# --------------------
|
|
|
|
|
# @doc https://docs.portainer.io/v/ce-2.11/start/install/server/docker/linux
|
|
|
|
|
## CREATE VOLUME ##
|
|
|
|
|
# docker volume create portainer_data
|
|
|
|
|
#
|
|
|
|
|
# docker run -d -p 9000:9000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:2.11.1
|