37 lines
898 B
YAML
37 lines
898 B
YAML
services:
|
|
redis:
|
|
image: redis:latest
|
|
container_name: cloudnetignet_redis
|
|
volumes:
|
|
- ./volumes/redis:/data
|
|
command: redis-server --appendonly yes
|
|
restart: unless-stopped
|
|
mariadb:
|
|
image: mariadb:11.4
|
|
container_name: cloudnetignet_mariadb
|
|
env_file:
|
|
- .env
|
|
- ../passwords/cloudnetignet.pass
|
|
volumes:
|
|
- ./volumes/mysql:/var/lib/mysql
|
|
healthcheck:
|
|
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
|
start_period: 10s
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
restart: unless-stopped
|
|
nextcloud:
|
|
image: nextcloud:latest
|
|
container_name: cloudnetignet_nextcloud
|
|
depends_on:
|
|
- mariadb
|
|
env_file:
|
|
- .env
|
|
- ../passwords/cloudnetignet.pass
|
|
ports:
|
|
- "127.0.0.1:9002:80"
|
|
volumes:
|
|
- ./volumes/nextcloud:/var/www/html
|
|
restart: unless-stopped
|