sha256:04f53dad4b8bd89306c3ea485bac15710899f430d250fffd63dcf623d74ad5a7
Last pushed
1 day by aeshabb
Type
Compose
Manifest digest
sha256:04f53dad4b8bd89306c3ea485bac15710899f430d250fffd63dcf623d74ad5a7
name: lab3-russu
services:
db:
image: mariadb:lts
restart: unless-stopped
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
environment:
MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:?Set DB_ROOT_PASSWORD}
MARIADB_DATABASE: nextcloud
MARIADB_USER: nextcloud
MARIADB_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD}
volumes:
- db_data:/var/lib/mysql
healthcheck:
test: [CMD, healthcheck.sh, --connect, --innodb_initialized]
interval: 10s
timeout: 5s
retries: 15
app:
image: nextcloud:stable-apache
restart: unless-stopped
depends_on:
db:
condition: service_healthy
environment:
MYSQL_HOST: db
MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud
MYSQL_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD}
NEXTCLOUD_ADMIN_USER: russu
NEXTCLOUD_ADMIN_PASSWORD: ${NC_ADMIN_PASSWORD:?Set NC_ADMIN_PASSWORD}
NEXTCLOUD_TRUSTED_DOMAINS: localhost 127.0.0.1
OVERWRITEHOST: localhost:2022
OVERWRITEPROTOCOL: http
OVERWRITECLIURL: http://localhost:2022
TRUSTED_PROXIES: 172.28.30.0/24
volumes:
- nextcloud_data:/var/www/html
healthcheck:
test: [CMD-SHELL, "curl -fsS http://localhost/status.php | grep -q '\"installed\":true'"]
interval: 15s
timeout: 10s
retries: 30
start_period: 60s
web:
image: aeshabb/russu-lab3-proxy:1.0
restart: unless-stopped
depends_on:
app:
condition: service_healthy
ports:
- 127.0.0.1:2022:80
portainer:
image: portainer/portainer-ce:lts
restart: unless-stopped
ports:
- 127.0.0.1:9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
volumes:
db_data:
nextcloud_data:
portainer_data:
networks:
default:
ipam:
config:
- subnet: 172.28.30.0/24
docker compose -f oci://aeshabb/russu-lab3-compose:1.0 upUse the above command to pull and run the Compose file. Learn more.
MariaDB Server is a high performing open source relational database, forked from MySQL.
Pulls
1B+
Stars
6117
Last Updated
about 3 hours
Nextcloud manual docker image
Pulls
1B+
Stars
4516
Last Updated
25 minutes
Portainer CE - a lightweight service delivery platform for containerized applications
Pulls
1B+
Stars
2691
Last Updated
13 days