mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-03-15 12:19:39 +01:00
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
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
|
|
app:
|
|
image: linkace/linkace:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- ./.env:/app/.env
|
|
- linkace_app:/app
|
|
- linkace_logs:/app/storage/logs
|
|
# Remove the hash of the following line if you want to use local backups
|
|
#- ./backups:/app/storage/app/backups
|
|
|
|
# --- nginx
|
|
nginx:
|
|
image: bitnami/nginx:1.19
|
|
restart: unless-stopped
|
|
ports:
|
|
- "0.0.0.0:80:8080"
|
|
#- "0.0.0.0:443:8443"
|
|
depends_on:
|
|
- app
|
|
volumes:
|
|
- linkace_app:/app
|
|
- ./nginx.conf:/opt/bitnami/nginx/conf/server_blocks/linkace.conf:ro
|
|
#- /path/to/your/ssl/certificates:/certs
|
|
|
|
# --- Redis
|
|
redis:
|
|
image: bitnami/redis:6.0
|
|
restart: unless-stopped
|
|
environment:
|
|
- REDIS_PASSWORD=${REDIS_PASSWORD}
|
|
|
|
volumes:
|
|
linkace_app:
|
|
linkace_logs:
|
|
db:
|
|
driver: local
|