Compare commits
5 commits
4216e6f371
...
114e0917f5
Author | SHA1 | Date | |
---|---|---|---|
114e0917f5 | |||
9f7bcbc83d | |||
f37c9d7414 | |||
d1db5f9857 | |||
73579e04ff |
2 changed files with 47 additions and 2 deletions
|
@ -8,7 +8,10 @@
|
|||
# FROM nextcloud:20.0.5-apache
|
||||
# FROM nextcloud:21.0.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 \
|
||||
&& 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 \
|
||||
libmagickcore-6.q16-6-extra \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
##
|
||||
## Raise memory limit for PHP
|
||||
|
|
42
docker-compose.yml
Normal file
42
docker-compose.yml
Normal 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:
|
||||
|
||||
#
|
Loading…
Reference in a new issue