-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (32 loc) · 814 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (32 loc) · 814 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
version: '3.3'
services:
db:
image: mariadb:10.11
volumes:
- dbvol:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: pastefy
MYSQL_DATABASE: pastefy
MYSQL_USER: pastefy
MYSQL_PASSWORD: pastefy
pastefy:
depends_on:
- db
image: interaapps/pastefy:latest
ports:
- "9999:80"
environment:
HTTP_SERVER_PORT: 80
HTTP_SERVER_CORS: "*"
DATABASE_DRIVER: mysql
DATABASE_NAME: pastefy
DATABASE_USER: pastefy
DATABASE_PASSWORD: pastefy
DATABASE_HOST: db
DATABASE_PORT: 3306
SERVER_NAME: "http://localhost:9999"
# There is INTERAAPPS, GOOGLE, GITHUB, DISCORD, TWITCH
OAUTH2_PROVIDER_CLIENT_ID:
OAUTH2_PROVIDER_CLIENT_SECRET:
volumes:
dbvol: