services: acta: image: lucasdiedrich/ojs:php7-test container_name: ojs_acta restart: unless-stopped environment: - OJS_DB_DRIVER=mysqli - OJS_CLI_INSTALL=0 - OJS_DB_HOST=mariadb_simple - OJS_DB_USER=ojs_acta - OJS_DB_PASSWORD=R36aVTUKgOWgawMRvSVqZ4LfYWswZc - OJS_DB_NAME=ojs_acta volumes: - ojs_private:/var/www/files - ojs_public:/var/www/html/public - ojs_logs:/var/log/apache2 - ojs_backup:/srv/backups - ojs_data:/var/www/html - /etc/localtime:/etc/localtime - ./configs/config_inc_php_v2:/var/www/html/config.inc.php:ro - ./configs/custom_ini:/usr/local/etc/php/conf.d/custom.ini:ro - ./configs/htaccess:/var/www/html/.htaccess:ro - ./configs/ojs_conf:/etc/apache2/conf.d/ojs.conf:ro - ./configs/supervisord_conf:/etc/supervisord.conf:ro networks: - traefik-network - db-migration labels: - "traefik.enable=true" - traefik.docker.network=traefik-network - traefik.constraint-label=traefik-network - traefik.http.routers.ojs-maastikuarhitektuur-http.middlewares=http-to-https - traefik.http.routers.ojs-maastikuarhitektuur-http.rule=Host(`www.maastikuarhitektuur.ee`) || Host(`maastikuarhitektuur.ee`) - traefik.http.routers.ojs-maastikuarhitektuur-http.entrypoints=web - traefik.http.routers.ojs-maastikuarhitektuur-http.service=ojs-maastikuarhitektuur - traefik.http.routers.ojs-maastikuarhitektuur-https.rule=Host(`www.maastikuarhitektuur.ee`) || Host(`maastikuarhitektuur.ee`) - traefik.http.routers.ojs-maastikuarhitektuur-https.entrypoints=websecure - traefik.http.routers.ojs-maastikuarhitektuur-https.service=ojs-maastikuarhitektuur - "traefik.http.routers.ojs-maastikuarhitektuur-https.tls.certresolver=mychallenge" - traefik.http.services.ojs-maastikuarhitektuur.loadbalancer.server.port=80 volumes: ojs_backup: external: true ojs_data: external: true ojs_logs: external: true ojs_private: external: true ojs_public: external: true networks: traefik-network: external: true db-migration: external: true