Skip to content

Update README.md#large-deployment & docker-compose.yml #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 61 additions & 48 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,54 +150,67 @@ limesurvey:
Runs inside `php-fpm` linked to `memchaced` and `nginx` external containers.

```yaml
limesurvey-md:
image: mariadb
restart: always
ports:
- "32805:3306"
environment:
MYSQL_DATABASE: limesurvey
MYSQL_ROOT_PASSWORD: V3rY1ns3cur3P4ssw0rd
MYSQL_USER: limesurvey
MYSQL_PASSWORD: V3rY1ns3cur3P4ssw0rd
volumes:
- limesurvey-db:/var/lib/mysql
- limesurvey-dblog:/var/log/mysql
- limeservey-dbetc:/etc/mysql

limesurvey-mc:
image: memcached

limesurvey:
image: fjudith/limesurvey:fpm
restart: always
environement:
MEMCACHED_HOST: memcached
PUBLIC_URL: http://survey.example.loc
SMTP_HOST: smtp.example.com
SMTP_TLS: on
SMTP_PORT: 465
SMTP_AUTH: off
MAIL_FROM_DEFAULT: [email protected]
MAIL_DOMAIN: mail.example.com
volumes:
- limesurvey-upload:/var/www/html/upload
links:
- limesurvey-md:mysql
- limesruvey-pc:memcached

limesurvey-nginx:
image: fjudith/limesurvey:nginx
ports:
- 32706:8443/tcp
- 32705:8080/tcp
links:
- limesurvey-mc:memcached
- limesurvey:limesurvey
volumes:
- limesurvey-data:/var/www/html
- limesurvey-nginx-config:/etc/nginx
- limesurvey-nginx-log:/var/log/nginx
version: '2'

services:

limesurvey-md:
image: mariadb
restart: always
ports:
- "32805:3306"
environment:
MYSQL_DATABASE: limesurvey
MYSQL_ROOT_PASSWORD: V3rY1ns3cur3P4ssw0rd
MYSQL_USER: limesurvey
MYSQL_PASSWORD: V3rY1ns3cur3P4ssw0rd
volumes:
- limesurvey-db:/var/lib/mysql
- limesurvey-dblog:/var/log/mysql
- limesurvey-dbetc:/etc/mysql

limesurvey-mc:
image: memcached

limesurvey:
image: fjudith/limesurvey:fpm
restart: always
environment:
MEMCACHE_HOST: memcached
PUBLIC_URL: http://survey.example.loc
SMTP_HOST: smtp.example.com
SMTP_TLS: 'on'
SMTP_PORT: 465
SMTP_AUTH: 'off'
MAIL_FROM_DEFAULT: [email protected]
MAIL_DOMAIN: mail.example.com
volumes:
- limesurvey-data:/var/www/html
links:
- limesurvey-md:mysql
- limesurvey-mc:memcached

limesurvey-nginx:
image: fjudith/limesurvey:nginx
ports:
- 32706:8443/tcp
- 32705:8080/tcp
links:
- limesurvey-mc:memcached
- limesurvey:limesurvey
volumes:
- limesurvey-data:/var/www/html
- limesurvey-nginx-config:/etc/nginx
- limesurvey-nginx-log:/var/log/nginx

volumes:
limesurvey-db:
limesurvey-dblog:
limesurvey-dbetc:
limesurvey-upload:
limesurvey-data:
limesurvey-nginx-config:
limesurvey-nginx-log:
```

And run:
Expand Down
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: '2'
services:
services:
limesurvey-nginx:
image: fjudith/limesurvey:nginx
volumes:
Expand Down Expand Up @@ -33,4 +33,9 @@ services:
- limesurvey-data:/var/www/html
links:
- limesurvey-md:mysql
- limesurvey-mc:memcached
- limesurvey-mc:memcached

volumes:
limesurvey-data:
limesurvey-db:
limesurvey-upload: