Add files for building container, example docker-compose file and Woodpecker CI configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a27c44c92c
commit
ba42fd3374
12
.woodpecker.yaml
Normal file
12
.woodpecker.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: docker
|
||||||
|
commands:
|
||||||
|
- "docker login git.snyman.info -u $DOCKER_USERNAME -p $DOCKER_TOKEN"
|
||||||
|
- "docker build -t git.snyman.info/raoul/flarum ."
|
||||||
|
- "docker push git.snyman.info/raoul/flarum"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
secrets:
|
||||||
|
- docker_username
|
||||||
|
- docker_token
|
9
LICENSE
Normal file
9
LICENSE
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2023 raoul
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# flarum-docker
|
||||||
|
|
||||||
|
A Dockerfile for the Flarum forum software.
|
@ -8,14 +8,14 @@ services:
|
|||||||
MYSQL_PASSWORD: flarum
|
MYSQL_PASSWORD: flarum
|
||||||
MYSQL_HOST: mysql
|
MYSQL_HOST: mysql
|
||||||
SITE_URL: http://192.168.88.51:8000
|
SITE_URL: http://192.168.88.51:8000
|
||||||
ADMIN_USER: raoul
|
ADMIN_USER: admin
|
||||||
ADMIN_PASSWORD: omigosh
|
ADMIN_PASSWORD: password
|
||||||
ADMIN_EMAIL: raoul@snyman.info
|
ADMIN_EMAIL: admin@example.com
|
||||||
MAIL_DRIVER: smtp
|
MAIL_DRIVER: smtp
|
||||||
MAIL_HOST: mail.snyman.info
|
MAIL_HOST: mail.example.com
|
||||||
MAIL_PORT: 465
|
MAIL_PORT: 465
|
||||||
MAIL_ENCRYPTION: ssl
|
MAIL_ENCRYPTION: ssl
|
||||||
MAIL_USERNAME: raoul@snyman.info
|
MAIL_USERNAME: admin@example.com
|
||||||
MAIL_PASSWORD: secret
|
MAIL_PASSWORD: secret
|
||||||
ports:
|
ports:
|
||||||
- "8000:80"
|
- "8000:80"
|
||||||
|
Loading…
Reference in New Issue
Block a user