nextcloud_avec_docker-compose
Différences
Ci-dessous, les différences entre deux révisions de la page.
| nextcloud_avec_docker-compose [2018/12/18 15:35] – créée simon | nextcloud_avec_docker-compose [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Nextcloud avec docker-compose ====== | ||
| - | |||
| - | ===== 18/12/2018 ===== | ||
| - | <code bash> | ||
| - | version: ' | ||
| - | |||
| - | services: | ||
| - | db: | ||
| - | image: postgres: | ||
| - | restart: always | ||
| - | environment: | ||
| - | - POSTGRES_PASSWORD=password | ||
| - | - POSTGRES_USER=nextcloud-user | ||
| - | - POSTGRES_DB=nextcloud-db | ||
| - | volumes: | ||
| - | - postgres-nextcloud:/ | ||
| - | ports: | ||
| - | - 5432:5432 | ||
| - | |||
| - | phpPgAdmin: | ||
| - | container_name: | ||
| - | image: jacksoncage/ | ||
| - | environment: | ||
| - | - POSTGRESQL_HOST=db | ||
| - | - POSTGRESQL_PORT=5432 | ||
| - | - POSTGRESQL_DEFAULT_DB=nextcloud-db | ||
| - | - POSTGRESQL_USER=nextcloud-user | ||
| - | - POSTGRES_PASSWORD=password | ||
| - | ports: | ||
| - | - 8080:80 | ||
| - | links: | ||
| - | - db | ||
| - | |||
| - | nextcloud: | ||
| - | image: nextcloud: | ||
| - | restart: always | ||
| - | ports: | ||
| - | - 8081:80 | ||
| - | volumes: | ||
| - | - nextcloud-nextcloud:/ | ||
| - | - nextcloud-apps:/ | ||
| - | - nextcloud-config:/ | ||
| - | - nextcloud-data:/ | ||
| - | environment: | ||
| - | - POSTGRES_HOST=db | ||
| - | - POSTGRES_PASSWORD=password | ||
| - | - POSTGRES_DB=nextcloud-db | ||
| - | - POSTGRES_USER=nextcloud-user | ||
| - | depends_on: | ||
| - | - db | ||
| - | link: | ||
| - | - db | ||
| - | |||
| - | volumes: | ||
| - | postgres-nextcloud: | ||
| - | # external: true | ||
| - | # driver: nfs | ||
| - | nextcloud-nextcloud: | ||
| - | # external: true | ||
| - | # driver: nfs | ||
| - | nextcloud-apps: | ||
| - | # external: true | ||
| - | # driver: nfs | ||
| - | nextcloud-config: | ||
| - | # external: true | ||
| - | # driver: nfs | ||
| - | nextcloud-data: | ||
| - | # external: true | ||
| - | # driver: nfs | ||
| - | </ | ||
nextcloud_avec_docker-compose.1545147302.txt.gz · Dernière modification : (modification externe)
