![]()
version: "3.5"
services:
redis:
image: redis:alpine
environment:
- TZ=Asia/Jakarta
volumes:
- rd:/data
restart: unless-stopped
networks:
- linkace
db:
image: martadinata666/mariadb:10.6
environment:
- MARIADB_ROOT_PASSWORD=mariadblinkace
- TZ=Asia/Jakarta
- MARIADB_DATABASE=linkace
- MARIADB_USER=linkace
- MARIADB_PASSWORD=linkace
volumes:
- db:/var/lib/mysql
restart: unless-stopped
networks:
- linkace
web:
image: martadinata666/linkace:latest
environment:
- TZ=Asia/Jakarta
volumes:
- ./env:/var/www/html/.env
- backups:/var/www/html/storage/app/backups
networks:
- linkace
ports:
- 7070:443
restart: unless-stopped
networks:
linkace:
name: linkace
volumes:
rd:
backups:
db:
env fileSample taken from LinkAce GitHub
## LINKACE CONFIGURATION
## Basic app configuration
COMPOSE_PROJECT_NAME=linkace
# The app key is generated later, please leave it blank
APP_KEY=someRandomStringWith32Characters
## Configuration of the database connection
## Attention: Those settings are configured during the web setup, please do not modify them now.
# Set the database driver (mysql, pgsql, sqlsrv)
DB_CONNECTION=mysql
# Set the host of your database here
DB_HOST=db
# Set the port of your database here
DB_PORT=3306
# Set the database name here
DB_DATABASE=linkace
# Set both username and password of the user accessing the database
DB_USERNAME=linkace
DB_PASSWORD=ChangeThisToASecurePassword!
## Redis cache configuration
# Set the Redis connection here if you want to use it
REDIS_HOST=redis
REDIS_PASSWORD=ChangeThisToASecurePassword!
REDIS_PORT=6379
artisan key:generateAfter upgrade or deploy, linkace web may still show older version, again go into container console and run:
php artisan migrate --force
php artisan cache:clear
Content type
Image
Digest
sha256:2822d577c…
Size
196.1 MB
Last updated
almost 3 years ago
docker pull martadinata666/linkace