Welcome to mirror list, hosted at ThFree Co, Russian Federation.

docker-compose.yml - github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9d2b1647486f63289e800a4726c37e950117b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: "3.2"
services:
  web:
    build: .
    links:
      - mysql
      - redis
    environment:
      - WORDPRESS_DB_PASSWORD=password
      - WP_DEBUG=false
      - PHP_XDEBUG_ENABLED=1
      - XDEBUG_CONFIG=remote_host=10.254.254.254
    ports:
      - "80:80"
    working_dir: /var/www/html
    volumes:
      - ${PWD}:/var/www/html/wp-content/themes/nextcloud.com

  mysql:
    image: mysql:5.7
    environment:
    - MYSQL_ROOT_PASSWORD=password
    - MYSQL_DATABASE=nextcloud

  redis:
    image: redis
    ports:
      - "6379:6379"