mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-01-18 05:38:40 +01:00
a93d1b8b33
- Adds new Dockerfile for unified PHP-nginx container - Adds new configuration files for simple setup with unified container - Removes Redis from simple setup - Changes default cache and session driver form Redis to file - Updates nginx configuration accordingly
35 lines
772 B
YAML
35 lines
772 B
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
# --- MariaDB
|
|
db:
|
|
image: bitnami/mariadb:10.5
|
|
restart: unless-stopped
|
|
environment:
|
|
- MARIADB_ROOT_PASSWORD=${DB_PASSWORD}
|
|
- MARIADB_USER=${DB_USERNAME}
|
|
- MARIADB_PASSWORD=${DB_PASSWORD}
|
|
- MARIADB_DATABASE=${DB_DATABASE}
|
|
volumes:
|
|
- db:/bitnami
|
|
|
|
# --- LinkAce Image with PHP 7.4 and nginx
|
|
app:
|
|
image: linkace/linkace:php-nginx
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- "0.0.0.0:80:8080"
|
|
#- "0.0.0.0:443:8443"
|
|
volumes:
|
|
- ./logs:/app/storage/logs
|
|
- ./.env:/app/.env
|
|
- ./nginx-simple.conf:/opt/docker/etc/nginx/conf.d/linkace.conf:ro
|
|
#- /path/to/your/ssl/certificates:/opt/docker/etc/nginx/ssl
|
|
|
|
volumes:
|
|
db:
|
|
driver: local
|