Skip to content
Snippets Groups Projects
Commit 79107428 authored by Timothee Gosselin's avatar Timothee Gosselin
Browse files

use indiehost image + version as env

parent 61e3269b
No related branches found
No related tags found
No related merge requests found
FROM nextcloud:13-fpm
COPY /config/mail.config.php /usr/src/nextcloud/config/
<?php
$CONFIG = array (
'mail_domain' => getenv('MAIL_DOMAIN'),
'mail_from_address' => getenv('MAIL_FROM'),
'mail_smtpmode' => 'smtp',
'mail_smtphost' => getenv('MAIL_HOST'),
'mail_smtpport' => getenv('MAIL_PORT'),
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpname' => getenv('SMTP_NAME'),
'mail_smtppassword' => getenv('MAIL_PASS'),
'mail_smtpsecure' => 'tls',
);
...@@ -23,7 +23,7 @@ services: ...@@ -23,7 +23,7 @@ services:
- back - back
- lb_web - lb_web
app: app:
build: . image: indiehosters/nextcloud:${NEXTCLOUD_VERSION:-latest}
links: links:
- db - db
volumes: volumes:
...@@ -46,7 +46,7 @@ services: ...@@ -46,7 +46,7 @@ services:
networks: networks:
- back - back
db: db:
image: mysql:5.7 image: mysql:${MYSQL_VERSION:-5.7}
volumes: volumes:
- ./mysql/runtime:/var/lib/mysql - ./mysql/runtime:/var/lib/mysql
environment: environment:
...@@ -54,11 +54,11 @@ services: ...@@ -54,11 +54,11 @@ services:
networks: networks:
- back - back
redis: redis:
image: redis image: redis:${REDIS_VERSION:-latest}
networks: networks:
- back - back
cron: cron:
image: nextcloud:13-fpm image: indiehosters/nextcloud:${NEXTCLOUD_VERSION:-latest}
links: links:
- db - db
volumes_from: volumes_from:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment