Compare commits

...
4 Commits
6 changed files with 14 additions and 16 deletions
+2
View File
@@ -10,6 +10,8 @@
#GITEA_PORT_SSH=22 #GITEA_PORT_SSH=22
#GITEA__openid__ENABLE_OPENID_SIGNIN=false #GITEA__openid__ENABLE_OPENID_SIGNIN=false
#GITEA__openid__ENABLE_OPENID_SIGNUP=false #GITEA__openid__ENABLE_OPENID_SIGNUP=false
#GITEA__server__DISABLE_SSH
#GITEA__server__LANDING_PAGE
#GITEA__service__DISABLE_REGISTRATION=false #GITEA__service__DISABLE_REGISTRATION=false
#GITEA_MARIADB_PORT=3306 #GITEA_MARIADB_PORT=3306
#GITEA_MARIADB_DATABASE=gitea #GITEA_MARIADB_DATABASE=gitea
+3 -1
View File
@@ -12,6 +12,8 @@ services:
# More info: https://docs.gitea.com/next/administration/config-cheat-sheet # More info: https://docs.gitea.com/next/administration/config-cheat-sheet
GITEA__openid__ENABLE_OPENID_SIGNIN: ${GITEA__openid__ENABLE_OPENID_SIGNIN:-false} GITEA__openid__ENABLE_OPENID_SIGNIN: ${GITEA__openid__ENABLE_OPENID_SIGNIN:-false}
GITEA__openid__ENABLE_OPENID_SIGNUP: ${GITEA__openid__ENABLE_OPENID_SIGNUP:-false} GITEA__openid__ENABLE_OPENID_SIGNUP: ${GITEA__openid__ENABLE_OPENID_SIGNUP:-false}
GITEA__server__DISABLE_SSH: ${GITEA__server__DISABLE_SSH:-false}
GITEA__server__LANDING_PAGE: ${GITEA__server__LANDING_PAGE:-home}
GITEA__service__DISABLE_REGISTRATION: ${GITEA__service__DISABLE_REGISTRATION:-false} GITEA__service__DISABLE_REGISTRATION: ${GITEA__service__DISABLE_REGISTRATION:-false}
# MariaDB # MariaDB
#GITEA__database__DB_TYPE: mysql #GITEA__database__DB_TYPE: mysql
@@ -59,6 +61,6 @@ services:
environment: environment:
POSTGRES_DB: ${GITEA_POSTGRESQL_DATABASE:-gitea} POSTGRES_DB: ${GITEA_POSTGRESQL_DATABASE:-gitea}
POSTGRES_USER: ${GITEA_POSTGRESQL_USER:-gitea} POSTGRES_USER: ${GITEA_POSTGRESQL_USER:-gitea}
POSTGRES_PASSWORD: ${GITEA_POSTGRESQL_PASSWORD:-} POSTGRES_PASSWORD: ${GITEA_POSTGRESQL_PASSWORD:-gitea}
volumes: volumes:
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-gitea}/${GITEA_POSTGRESQL_CONTAINER_NAME:-Gitea-PostgreSQL}/var/lib/postgresql/data:/var/lib/postgresql/data - /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-gitea}/${GITEA_POSTGRESQL_CONTAINER_NAME:-Gitea-PostgreSQL}/var/lib/postgresql/data:/var/lib/postgresql/data
+1 -1
View File
@@ -7,4 +7,4 @@ services:
healthcheck: healthcheck:
test: curl -f http://localhost:80/ || exit 1 test: curl -f http://localhost:80/ || exit 1
ports: ports:
- ${ITTOOLS_HTTP_PORT:-80}:80 - ${ITTOOLS_PORT:-80}:80
+2 -2
View File
@@ -1,6 +1,6 @@
# Uncomment and change the following variables if you want to use them. # Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped #RESTART=unless-stopped
#PYBRICKSCODE_CONTAINER_NAME=Pybricks Code #PYBRICKSCODE_CONTAINER_NAME=Pybricks Code
#PYBRICKSCODE_TAG=18 #PYBRICKSCODE_TAG=latest
#PYBRICKSCODE_PORT=8000 #PYBRICKSCODE_PORT=8000
#PYBRICKSCODE_BRANCH=master #PYBRICKSCODE_BRANCH=master
+3 -9
View File
@@ -2,15 +2,9 @@ services:
# Pybricks Code # Pybricks Code
pybrickscode: pybrickscode:
container_name: ${PYBRICKSCODE_CONTAINER_NAME:-PybricksCode} container_name: ${PYBRICKSCODE_CONTAINER_NAME:-PybricksCode}
image: node:${PYBRICKSCODE_TAG:-18} image: axchrono/pybrickscode:${PYBRICKSCODE_TAG:-latest}
restart: ${RESTART:-unless-stopped} restart: ${RESTART:-unless-stopped}
healthcheck: healthcheck:
test: curl -f http://localhost:8000/ || exit 1 test: wget --no-verbose --tries=1 --spider http://localhost:80/
command: >
sh -c "git clone https://github.com/pybricks/pybricks-code -b \"${PYBRICKSCODE_BRANCH:-master}\" && \
cd pybricks-code && \
yarn install && \
yarn build && \
./scripts/serve.py"
ports: ports:
- ${PYBRICKSCODE_PORT:-8000}:8000 - ${PYBRICKSCODE_PORT:-80}:80
+3 -3
View File
@@ -32,14 +32,14 @@ The following variables could be set as an environment varaiables using the .env
|---|---|---| |---|---|---|
| RESTART | unless-stopped | Choose a restart policy. | | RESTART | unless-stopped | Choose a restart policy. |
| PYBRICKSCODE_CONTAINER_NAME | PybricksCode | This is used for the name of the container and the main folder under de docker folder. | | PYBRICKSCODE_CONTAINER_NAME | PybricksCode | This is used for the name of the container and the main folder under de docker folder. |
| PYBRICKSCODE_TAG | 18 | Choose a version tag. This is the tag for Node, not the main software. | | PYBRICKSCODE_TAG | latest | Choose a version tag. |
| PYBRICKSCODE_PORT | 8000 | Default port. | | PYBRICKSCODE_PORT | 80 | Default port. |
| PYBRICKSCODE_BRANCH | master | Github branch or tag for the main software. Possible values are: "v2.1.1" or "v2.2.0-beta.8" |
## Links ## Links
* [Homepage](https://pybricks.com/) * [Homepage](https://pybricks.com/)
* [GitHub](https://github.com/pybricks/) * [GitHub](https://github.com/pybricks/)
* [Dockerhub](https://hub.docker.com/r/axchrono/pybrickscode)
## Disclaimer ## Disclaimer