furaolink/docker-compose.yml
Théotime Lévêque 52f17a764c
feat(config): move PHP configuration from runtime to build time
This commit is the second of a PR that will
aim at dropping requirement to run containers
with root permissions.

This commit leverages env vars rather than sed &
dynamic environment substitution for php.ini file.
2023-12-27 12:30:09 +01:00

34 lines
682 B
YAML

version: "3.8"
services:
linkstack:
hostname: 'linkstack'
image: 'linkstackorg/linkstack:latest'
environment:
TZ: 'Europe/Berlin'
SERVER_ADMIN: 'admin@example.com'
HTTP_SERVER_NAME: 'example.com'
HTTPS_SERVER_NAME: 'example.com'
LOG_LEVEL: 'info'
PHP_MEMORY_LIMIT: '256M'
UPLOAD_MAX_FILESIZE: '8M'
volumes:
- 'linkstack_data:/htdocs'
ports:
- '8080:80'
- '8081:443'
depends_on:
- mysql
links:
- mysql
restart: unless-stopped
mysql:
image: mysql:8
environment:
MYSQL_ROOT_PASSWORD: xeFgUGb5mPPn5q2d
ports:
- 3306:3306
volumes:
linkstack_data: