2024-09-20 00:22:47 +02:00
|
|
|
---
|
2019-01-17 10:42:42 +01:00
|
|
|
services:
|
2024-09-30 23:01:29 +02:00
|
|
|
# --- LinkAce
|
2020-09-07 23:14:53 +02:00
|
|
|
app:
|
2024-05-19 23:48:29 +02:00
|
|
|
image: docker.io/linkace/linkace:latest
|
2020-05-20 14:37:40 +02:00
|
|
|
restart: unless-stopped
|
2020-08-31 09:25:29 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
2024-02-07 00:31:59 +01:00
|
|
|
ports:
|
|
|
|
- "0.0.0.0:80:80"
|
|
|
|
# Remove the hash of the following line if you want to use HTTPS for this container
|
|
|
|
#- "0.0.0.0:443:443"
|
2019-01-17 10:42:42 +01:00
|
|
|
volumes:
|
2020-05-20 14:37:40 +02:00
|
|
|
- ./.env:/app/.env
|
2022-09-06 09:27:15 +02:00
|
|
|
- ./backups:/app/storage/app/backups
|
2024-02-07 00:31:59 +01:00
|
|
|
# Remove the hash of the following line if you want to use HTTPS for this container
|
|
|
|
#- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
|
|
|
#- ./caddy-data:/data/caddy
|
2019-01-17 10:42:42 +01:00
|
|
|
|
2024-09-30 23:01:29 +02:00
|
|
|
# --- Database
|
|
|
|
db:
|
|
|
|
image: docker.io/library/mariadb:11.5
|
|
|
|
restart: unless-stopped
|
|
|
|
command: mariadbd --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
|
|
|
|
- MYSQL_USER=${DB_USERNAME}
|
|
|
|
- MYSQL_PASSWORD=${DB_PASSWORD}
|
|
|
|
- MYSQL_DATABASE=${DB_DATABASE}
|
|
|
|
volumes:
|
|
|
|
- db:/var/lib/mysql
|
|
|
|
|
|
|
|
# --- Cache
|
2019-01-17 10:42:42 +01:00
|
|
|
redis:
|
2024-09-20 00:22:47 +02:00
|
|
|
image: docker.io/bitnami/redis:7.4
|
2020-05-20 14:37:40 +02:00
|
|
|
restart: unless-stopped
|
2019-01-17 10:42:42 +01:00
|
|
|
environment:
|
|
|
|
- REDIS_PASSWORD=${REDIS_PASSWORD}
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db:
|