Compare commits

...

5 commits

Author SHA1 Message Date
114e0917f5 Bump version 2022-06-29 16:11:32 +02:00
9f7bcbc83d Bump to nextcloud 24 2022-05-08 13:40:33 +02:00
f37c9d7414 Add docker-compose.yml 2022-04-07 09:36:33 +02:00
d1db5f9857 Bump nextcloud version 2022-04-07 09:36:25 +02:00
73579e04ff Add comment for demo 2022-01-21 10:25:25 +01:00
2 changed files with 47 additions and 2 deletions

View file

@ -8,7 +8,10 @@
# FROM nextcloud:20.0.5-apache # FROM nextcloud:20.0.5-apache
# FROM nextcloud:21.0.2-apache # FROM nextcloud:21.0.2-apache
# FROM nextcloud:22.2-apache # FROM nextcloud:22.2-apache
FROM nextcloud:23.0-apache # FROM nextcloud:23.0.2-apache
FROM nextcloud:24.0.2-apache
# This is a stupid comment for a demo (remove later)
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y nano \ && apt-get install -y nano \
@ -48,7 +51,7 @@ RUN apt-get update && apt-get install -y libgmp3-dev \
## ##
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
libmagickcore-6.q16-6-extra \ libmagickcore-6.q16-6-extra \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/*
## ##
## Raise memory limit for PHP ## Raise memory limit for PHP

42
docker-compose.yml Normal file
View file

@ -0,0 +1,42 @@
---
version: "3.4"
services:
db:
container_name: cloud-db
image: postgres:14
volumes:
- cloud-db-data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: cloud-password
POSTGRES_USER: cloud-user
POSTGRES_DB: cloud-db
networks:
- cloud-net
app:
container_name: cloud-app
build: .
image: glenux/nextcloud:23
volumes:
- cloud-app-data:/var/www/html
environment:
POSTGRES_PASSWORD: cloud-password
POSTGRES_USER: cloud-user
POSTGRES_DB: cloud-db
POSTGRES_HOST: cloud-db
NEXTCLOUD_ADMIN_USER: admin
NEXTCLOUD_ADMIN_PASSWORD: "1234"
networks:
- cloud-net
ports:
- 8080:80
volumes:
cloud-app-data:
cloud-db-data:
networks:
cloud-net:
#