34 lines
635 B
Text
34 lines
635 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
|
||
|
networks:
|
||
|
- internal
|
||
|
|
||
|
redis:
|
||
|
image: redis
|
||
|
networks:
|
||
|
- internal
|
||
|
|
||
|
networks:
|
||
|
web:
|
||
|
external:
|
||
|
name: proxy_web
|
||
|
internal:
|