mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-17 09:08:11 +03:00
32 lines
644 B
YAML
32 lines
644 B
YAML
version: '2'
|
|
services:
|
|
app:
|
|
container_name: syspass-app
|
|
image: syspass/syspass:3.1.2
|
|
restart: always
|
|
ports:
|
|
- "80"
|
|
- "443"
|
|
links:
|
|
- db
|
|
volumes:
|
|
- syspass-config:/var/www/html/sysPass/app/config
|
|
- syspass-backup:/var/www/html/sysPass/app/backup
|
|
environment:
|
|
- USE_SSL=yes
|
|
db:
|
|
container_name: syspass-db
|
|
restart: always
|
|
image: mariadb:10.2
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=syspass
|
|
ports:
|
|
- "3306"
|
|
volumes:
|
|
- syspass-db:/var/lib/mysql
|
|
|
|
volumes:
|
|
syspass-config: {}
|
|
syspass-backup: {}
|
|
syspass-db: {}
|