mirror of
https://github.com/easychen/pushdeer.git
synced 2024-11-14 22:39:27 +08:00
36 lines
831 B
YAML
36 lines
831 B
YAML
version: '2'
|
|
services:
|
|
mariadb:
|
|
image: 'mariadb:10.5.8-focal'
|
|
volumes:
|
|
- 'mariadb_data:/var/lib/mysql'
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=theVeryp@ssw0rd
|
|
- MYSQL_DATABASE=pushdeer
|
|
ports:
|
|
- '3306:3306'
|
|
redis:
|
|
image: 'bitnami/redis:6.0.16'
|
|
environment:
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
app:
|
|
#image: 'webdevops/php-apache:8.0-alpine'
|
|
build: './docker/web/'
|
|
ports:
|
|
- '8800:80'
|
|
volumes:
|
|
- './:/app'
|
|
depends_on:
|
|
- mariadb
|
|
- redis
|
|
environment:
|
|
- DB_HOST=mariadb
|
|
- DB_PORT=3306
|
|
- DB_USERNAME=root
|
|
- DB_DATABASE=pushdeer
|
|
- DB_PASSWORD=theVeryp@ssw0rd
|
|
- GO_PUSH_IOS_TOPIC=com.pushdeer.self.ios
|
|
- GO_PUSH_IOS_CLIP_TOPIC=com.pushdeer.self.ios.Clip
|
|
- APP_DEBUG=false
|
|
volumes:
|
|
mariadb_data: |