24 lines
398 B
YAML
Executable File
24 lines
398 B
YAML
Executable File
version: '2.1'
|
|
|
|
services:
|
|
redis:
|
|
image: redis:latest
|
|
container_name: redis
|
|
restart: always
|
|
app:
|
|
image: nextcloud:latest
|
|
container_name: nextcloud
|
|
hostname: next.ionathan.ch
|
|
ports:
|
|
- 8000:80
|
|
volumes:
|
|
- .:/var/www/html
|
|
restart: always
|
|
depends_on:
|
|
- redis
|
|
environment:
|
|
- REDIS_HOST=redis
|
|
networks:
|
|
default:
|
|
name: nextcloud
|