Last active
June 12, 2019 07:02
-
-
Save danitfk/bae495f0c71149e75e98fc9f35578bf7 to your computer and use it in GitHub Desktop.
Elkarbackup production grade docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
elkarbackup: | |
image: elkarbackup/elkarbackup:1.3.1-apache | |
environment: | |
SYMFONY__DATABASE__PASSWORD: "mysecurepass@" | |
EB_CRON: "enabled" | |
volumes: | |
- /backup:/app/backups | |
- uploads:/app/uploads | |
- sshkeys:/app/.ssh | |
- /var/www:/app/sites:ro | |
ports: | |
- 8000:80 | |
restart: unless-stopped | |
db: | |
image: mysql:5.7.22 | |
environment: | |
MYSQL_ROOT_PASSWORD: "mysecurepass@" | |
volumes: | |
- db:/var/lib/mysql | |
restart: unless-stopped | |
client: | |
image: elkarbackup/client | |
restart: unless-stopped | |
volumes: | |
db: | |
uploads: | |
sshkeys: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment