-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathdocker-compose.yaml
40 lines (36 loc) · 935 Bytes
/
docker-compose.yaml
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
services:
chyrp-lite:
build: .
container_name: chyrp-lite
restart: unless-stopped
volumes:
- data:/data
- uploads:/var/www/html/uploads
ports:
- 127.0.0.1:8080:80
# Use SQLite if don't know which database to choose. Set the database path to
# "/data/db.sqlite" during install. If you need PostgreSQL or MySQL,
# uncomment the one you want and set "Host" to "postgres" or "mysql"
# accordingly during install.
# postgres:
# image: postgres
# restart: unless-stopped
# volumes:
# - db:/var/lib/postgresql/data
# environment:
# POSTGRES_DB: chyrp-lite
# POSTGRES_USER: chyrp-lite
# POSTGRES_PASSWORD: <password>
# mysql:
# image: mysql
# restart: unless-stopped
# volumes:
# - db:/var/lib/mysql
# environment:
# MYSQL_DATABASE: chyrp-lite
# MYSQL_USER: chyrp-lite
# MYSQL_PASSWORD: <password>
volumes:
data:
uploads:
#db: