Browse Source

Update: Add extra_hosts option && container_name value on ENV

master
Siroco 6 months ago
parent
commit
3ae2fcae93
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 6
      .env.sample
  2. 5
      docker-compose.yml

6
.env.sample

@ -1,8 +1,10 @@
CONTAINER_NAME=gancio-sindominio
EXTRA_HOST=mail.sindominio.net:0.0.0.0
GANCIO_DATA_PATH="./data"
GANCIO_PORT=13120
GANCIO_USER_GROUP="1000:1000"
SMTP_HOST="smtp.sindominio.net"
SMTP_PORT=587
SMTP_HOST="mail.sindominio.net"
SMTP_PORT=25
SMTP_USER="gancio@sindominio.net"
SMTP_PASS="secret"
SMTP_SECURE=false

5
docker-compose.yml

@ -3,7 +3,10 @@ services:
gancio:
build: .
image: registry.sindominio.net/gancio
container_name: gancio
restart: always
container_name: $CONTAINER_NAME
extra_hosts:
- $EXTRA_HOST
user: "$GANCIO_USER_GROUP"
volumes:
- $GANCIO_DATA_PATH:/data/

Loading…
Cancel
Save