Skip to content

Repo-template for quick start with WebSpace Engine

License

Notifications You must be signed in to change notification settings

getwebspace/platform-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker builder License

Template to get started with the platform

Website | Documentation | Official Repository | Doker template | Demo shop

Running a container with docker-compose.yml

version: "3"

services:
    platform:
        image: ghcr.io/getwebspace/platform:latest
        environment:
            - DEBUG=1
          # - SIMPLE_PHONE_CHECK=1
          # - DATABASE=mysql://user:secret@localhost/mydb
        volumes:
            - ./resource:/var/container/public/resource:ro
            - ./plugin:/var/container/plugin:rw
            - ./theme:/var/container/theme:ro
            - ./var:/var/container/var:rw
            - ./var/upload:/var/container/public/uploads:rw
        ports:
            - 9000:80

Folder chmod's

chmod -R 0777 plugin
chmod -R 0777 resource
chmod -R 0777 theme
chmod -R 0777 var

Database schema initialization and update

Adding a user with administrator rights

After starting the container, go to https://[your-domain]/cup/system

License

Licensed under the MIT license. See License File for more information.