-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 836 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (35 loc) · 836 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
volumes:
db:
ghost:
services:
ghost:
ports:
- 2368:2368
networks:
- ghost
restart: always
environment:
database__client: mysql
database__connection__host: db
database__connection__user: ghost
database__connection__password: password1
database__connection__database: ghost
storage__active: s3
storage__s3__accessKeyId: <AWS Access Key>
storage__s3__secretAccessKey: <AWS Secret Key>
storage__s3__region: us-east-1
storage__s3__bucket: <s3 bucket name>
db:
image: linuxserver/mariadb:latest
volumes:
- db:/config
networks:
- ghost
environment:
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: ghost
MYSQL_PASSWORD: password1
MYSQL_DATABASE: ghost
networks:
ghost: