estoy tratando de añadir la base de datos MariaDB para conectarla al Nextcloud

master
kasilda 1 year ago
parent 75c4b0df83
commit 298eda67ab
  1. 4
      Dockerfile
  2. 20
      docker-compose.yml
  3. 53
      gpg.key

@ -21,12 +21,12 @@ RUN tar xvjf nextcloud-22.2.0.tar.bz2
COPY php-fpm.conf /etc/php/7.4/fpm/php-fpm.conf
COPY www.conf /etc/php/7.4/fpm/pool.d/www.conf
#RUN service php7.4-fpm start
# Vamos a la carpeta nextcloud recien creada, ponemos el puerto y creamos un volume para indicar luego la base de datos
WORKDIR nextcloud
EXPOSE 9000
VOLUME /nextcloud/
ENTRYPOINT ["/bin/bash","/usr/local/bin/docker-entrypoint.sh"]
CMD ["/usr/sbin/php-fpm7.4","--nodaemonize"]

@ -1,8 +1,28 @@
version: '3'
services:
phpfpm:
build: .
container_name: phpfpm
restart: always
user: '1000:1000'
links:
- db
enviroment:
MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud
MSQL_HOST: db
volumes:
- data:/nextcloud
db:
image: registry.sindominio.net/mariadb
container_name: db
volumes:
- db:/var/lib/mysql
environment:
MYSQL_DATABAS: nextcloud
MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud

@ -1,53 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQINBFdfyZcBEAC6S9pdHYiMteFOhGZEpkclpU7tqjJSx2UmL/uciQMu8P/N/jmV
Zgtox7CEkAhO3tuaK/I5mK9eFhe+i5R/4YTvXGvI4mV5/0JaqKIrCSbH3+gIFyuo
GggMx+aCc/23rwsv8LhDMikyq+eDpZZeYxQmkfKZKCfgOU4eCBv4lb3ij5yij1np
/20DQIDzXht5KclPaQt6w6+8z16e2p1va3SwsCTT/Y/yXIJMV2QXDUyVhox4e1Nr
XYxuTfseco8dV3JWIs/2O7o86cUao9TKXlfYbsFQYQAgSZ9jXcvgRZls972KAXK5
ZxuC9RjYsh3XgjgqB/wLdQgt2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