-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 872 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (35 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3'
services:
db:
image: mysql:8.0.28
container_name: db
volumes:
- db_data:/var/lib/mysql
- ./we_expire.example.sql:/docker-entrypoint-initdb.d/1-dump.sql
environment:
- MYSQL_ROOT_PASSWORD=Password123
- MYSQL_DATABASE=we_expire
- MYSQL_PASSWORD=Password123
- MYSQL_USER=we_expire
restart: always
we_expire:
image: ghcr.io/ciccionamente/weexpire/weexpire:latest
container_name: we_expire
environment:
- MYSQL_HOST=db
- MYSQL_DATABASE=we_expire
- MYSQL_PASSWORD=Password123
- MYSQL_USER=we_expire
- SMTP_HOST=
- SMTP_NAME=
- SMTP_PASSWORD=
- SMTP_PORT=
- SMTP_USER=
- URL=http://your.domain.com
ports:
- 80:80
volumes:
- ./logs:/var/www/underwear/error_logs
restart: unless-stopped
volumes:
db_data: {}