1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-01-17 13:18:21 +01:00
LinkAce/docker-compose.production-simple.yml
chrissawyerfan4 d05686daaf Make Podman installation work
- Specify registries in Dockerfiles such that Podman can resolve the dependencies
- Add a name for the PHP container, such that the commands work when using `exec -it linkace-php`
- Mention in CONTRIBUTING.md that Podman works also
- Update the PHP version in CONTRIBUTING.md as proposed in https://github.com/Kovah/LinkAce/discussions/746#discussioncomment-9101259
2024-04-13 04:03:34 +02:00

39 lines
998 B
YAML

version: "3"
services:
# --- MariaDB
db:
image: docker.io/library/mariadb:11.2
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
# --- LinkAce Image with PHP and nginx
app:
image: docker.io/library/linkace/linkace:simple
restart: unless-stopped
depends_on:
- db
ports:
- "0.0.0.0:80:80"
#- "0.0.0.0:443:443"
volumes:
- ./.env:/app/.env
- ./backups:/app/storage/app/backups
- linkace_logs:/app/storage/logs
# Remove the hash of the following line if you want to use HTTPS for this container
#- ./nginx-ssl.conf:/etc/nginx/conf.d/default.conf:ro
#- /path/to/your/ssl/certificates:/certs:ro
volumes:
linkace_logs:
db:
driver: local