update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2022-08-14 13:49:17 +02:00
parent bd306808a2
commit 7b26a7fa6f
3 changed files with 39 additions and 6 deletions

5
docs/cmnds/101-docker.md Normal file
View File

@ -0,0 +1,5 @@
### Restart Modes
on-failure
unless-stopped
always

View File

@ -14,8 +14,8 @@ services:
- DOCKER_MODS=linuxserver/mods:nextcloud-mediadc - DOCKER_MODS=linuxserver/mods:nextcloud-mediadc
network_mode: ${NET-bridge} network_mode: ${NET-bridge}
volumes: volumes:
- /docker/nextcloud/config:/config - ${FOLDERS}/nextcloud/config:/config
- /docker/nextcloud/data:/data - ${FOLDERS}/nextcloud/data:/data
# ports: # ports:
# - 52443:443 # - 52443:443
restart: ${RST-unless-stopped} restart: ${RST-unless-stopped}
@ -35,7 +35,7 @@ services:
- MYSQL_USER=${db_user} - MYSQL_USER=${db_user}
- MYSQL_PASSWORD=${db_password} - MYSQL_PASSWORD=${db_password}
volumes: volumes:
- /docker/nextcloud/db:/config - ${FOLDERS}/nextcloud/db:/config
restart: ${RST-unless-stopped} restart: ${RST-unless-stopped}
labels: labels:
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true} - com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
@ -48,10 +48,11 @@ Environments:
TAG=latest TAG=latest
RST=unless-stopped RST=unless-stopped
NET=bridge NET=bridge
PUID=${PUID-1000} PUID=1000
PGID=${PGID-1000} PGID=1000
TZ=Europe/Lisbon TZ=Europe/Amsterdam
AutoUpdate=true AutoUpdate=true
FOLDERS=
``` ```

View File

@ -0,0 +1,27 @@
Portainer Stack:
```yaml
version: '3.8'
services:
phoneinfoga:
container_name: phoneinfoga
image: sundowndev/phoneinfoga:${TAG-latest}
network_mode: ${NET-bridge}
restart: unless-stopped
environment:
- NUMVERIFY_API_KEY=${NUMVERIFY_API_KEY}
ports:
- ${PORT-5000}:5000
command:
- "serve"
labels:
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
```
Environments:
```
NET=bridge
TAG=latest
AutoUpdate=true
PORT=5566
NUMVERIFY_API_KEY=
```