Added unless-stopped to all relevant services, added versioning for element and mautrix-whatsapp
This commit is contained in:
parent
99cd550cd9
commit
c20692e73c
|
@ -1,9 +1,9 @@
|
|||
version: '2.4'
|
||||
services:
|
||||
mariadb:
|
||||
image: vectorim/element-web
|
||||
element:
|
||||
image: vectorim/element-web:v1.7.23
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config.json:/app/config.json
|
||||
ports:
|
||||
- 8083:80
|
||||
|
||||
- 8083:80
|
|
@ -20,4 +20,4 @@ networks:
|
|||
driver: bridge
|
||||
postgres_net:
|
||||
name: postgres_net
|
||||
external: true
|
||||
external: true
|
|
@ -11,6 +11,4 @@ services:
|
|||
networks:
|
||||
matrix_net:
|
||||
name: matrix_net
|
||||
driver: bridge
|
||||
|
||||
|
||||
driver: bridge
|
|
@ -1,7 +1,7 @@
|
|||
version: '2.4'
|
||||
services:
|
||||
mautrix-whatsapp:
|
||||
image: dock.mau.dev/tulir/mautrix-whatsapp:latest
|
||||
image: dock.mau.dev/tulir/mautrix-whatsapp:v0.1.5
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/mautrix-whatsapp:/data
|
||||
|
@ -11,5 +11,4 @@ services:
|
|||
networks:
|
||||
matrix_net:
|
||||
name: matrix_net
|
||||
driver: bridge
|
||||
|
||||
driver: bridge
|
|
@ -3,7 +3,7 @@ services:
|
|||
minecraft:
|
||||
build:
|
||||
context: .
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/minecraft/world:/minecraft/world
|
||||
- /var/minecraft/ops.json:/minecraft/ops.json
|
||||
|
@ -19,4 +19,4 @@ services:
|
|||
MAX_PLAYERS: "20"
|
||||
ENABLED_WHITELIST: "true"
|
||||
ports:
|
||||
- 25565:25565
|
||||
- 25565:25565
|
|
@ -1,7 +1,15 @@
|
|||
version: '2.4'
|
||||
services:
|
||||
redis:
|
||||
image: redis:6.2.0
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/redis:/data
|
||||
networks:
|
||||
- "nextcloud_net"
|
||||
nextcloud:
|
||||
image: nextcloud:fpm
|
||||
build: ./nextcloud-fpm
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: nextcloud
|
||||
POSTGRES_USER: nextcloud
|
||||
|
@ -13,14 +21,17 @@ services:
|
|||
OVERWRITEPROTOCOL: "https"
|
||||
OVERWRITEWEBROOT: "/"
|
||||
OVERWRITECONADDR: "138.201.74.231"
|
||||
REDIS_HOST: redis
|
||||
networks:
|
||||
- "postgres_net"
|
||||
- "nextcloud_net"
|
||||
volumes:
|
||||
- /var/nextcloud:/var/www/html
|
||||
- /mnt/mathias:/mnt/mathias
|
||||
- /mnt/public:/mnt/public
|
||||
web:
|
||||
image: nginx
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8081:80
|
||||
networks:
|
||||
|
@ -35,4 +46,4 @@ networks:
|
|||
driver: bridge
|
||||
postgres_net:
|
||||
name: "postgres_net"
|
||||
external: true
|
||||
external: true
|
|
@ -2,6 +2,7 @@ version: '2.4'
|
|||
services:
|
||||
nummus:
|
||||
image: glenroy37/nummus:0.1.2-alpha
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DB_HOST: postgres
|
||||
DB_USER: nummus
|
||||
|
@ -17,4 +18,4 @@ services:
|
|||
networks:
|
||||
mariadb_net:
|
||||
name: "postgres_net"
|
||||
external: true
|
||||
external: true
|
|
@ -2,6 +2,7 @@ version: '2.4'
|
|||
services:
|
||||
postgres:
|
||||
image: postgres:13.1-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
PGDATA: /var/lib/postgresql/data/pgdata
|
||||
|
@ -14,4 +15,4 @@ services:
|
|||
networks:
|
||||
postgres_net:
|
||||
name: postgres_net
|
||||
driver: bridge
|
||||
driver: bridge
|
|
@ -1,8 +1,8 @@
|
|||
version: '2.4'
|
||||
services:
|
||||
synapse:
|
||||
image: matrixdotorg/synapse:v1.26.0-deb
|
||||
restart: always
|
||||
image: matrixdotorg/synapse:v1.28.0
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fSs", "http://localhost:8008/health"]
|
||||
interval: 1m
|
||||
|
@ -27,4 +27,4 @@ networks:
|
|||
driver: bridge
|
||||
postgres_net:
|
||||
name: postgres_net
|
||||
external: true
|
||||
external: true
|
||||
|
|
|
@ -67,4 +67,3 @@
|
|||
community.general.ufw:
|
||||
state: enabled
|
||||
policy: deny
|
||||
|
||||
|
|
Loading…
Reference in New Issue