forked from hazza/resourcespace-docker
37 lines
609 B
YAML
37 lines
609 B
YAML
services:
|
|
resourcespace:
|
|
build: .
|
|
container_name: resourcespace
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- mariadb
|
|
volumes:
|
|
- include:/var/www/html/include
|
|
- filestore:/var/www/html/filestore
|
|
- ./testdir:/srv/storage/testdir
|
|
networks:
|
|
- frontend
|
|
- backend
|
|
ports:
|
|
- "80:80"
|
|
|
|
mariadb:
|
|
image: mariadb
|
|
container_name: mariadb
|
|
restart: unless-stopped
|
|
env_file:
|
|
- db.env
|
|
volumes:
|
|
- mariadb:/var/lib/mysql
|
|
networks:
|
|
- backend
|
|
|
|
networks:
|
|
frontend:
|
|
backend:
|
|
|
|
volumes:
|
|
mariadb:
|
|
include:
|
|
filestore:
|