29 lines
601 B
Text
29 lines
601 B
Text
version: "2"
|
|
|
|
services:
|
|
webservice:
|
|
build: ./webservice
|
|
volumes:
|
|
- "/nextcloud/config:/var/www/html/config"
|
|
- "/nextcloud/data:/var/www/html/data"
|
|
ports:
|
|
- "8000:80"
|
|
networks:
|
|
- web
|
|
- internal
|
|
|
|
db:
|
|
build: ./db
|
|
volumes:
|
|
- "/nextcloud/db:/var/lib/mysql"
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=toor
|
|
- MARIADB_AUTO_UPGRADE=true
|
|
networks:
|
|
- internal
|
|
|
|
networks:
|
|
web:
|
|
external:
|
|
name: proxy_web
|
|
internal:
|