-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 966 Bytes
/
docker-compose.yml
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
39
40
41
42
43
44
version: '3.8'
services:
wordpress:
image: wordpress:latest
restart: always
volumes:
- './wordpress:/var/www/html/wp-content'
- './upload.ini:/usr/local/etc/php/conf.d/uploads.ini'
environment:
WORDPRESS_DB_HOST: mysql
WORDPRESS_DB_USER: ********
WORDPRESS_DB_PASSWORD: ********
WORDPRESS_DB_NAME: ********
VIRTUAL_HOST: seniorblockchain.io
VIRTUAL_PORT: 80
LETSENCRYPT_HOST: seniorblockchain.io
LETSENCRYPT_EMAIL: [email protected]
networks:
- seniornetwork
- proxy
mysql:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: ********
MYSQL_USER: ********
MYSQL_PASSWORD: *******
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- mysql_data:/var/lib/mysql
networks:
- seniornetwork
volumes:
mysql_data:
networks:
seniornetwork:
name: seniornetwork
proxy:
external: true
name: proxy