first commit
This commit is contained in:
36
compose.yml
Normal file
36
compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
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
|
||||
Reference in New Issue
Block a user