Created
July 19, 2022 04:16
-
-
Save 2439905184/279cacbc30a5caec9d304e52cfdc109d to your computer and use it in GitHub Desktop.
Codecombat私服搭建
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Codecombat私服搭建 | |
| 2019-11-14 | |
| 文章目录 | |
| 1. docker compose | |
| version: "3.5" | |
| services: | |
| blog: | |
| image: operepo/ope-codecombat | |
| restart: always | |
| container_name: codecombat | |
| ports: | |
| - "8086:3000" | |
| 2.访问地址 | |
| http://127.0.0.1:8086 | |
| 3. 解锁订阅 | |
| docker exec -it codecombat /bin/bash | |
| mongo | |
| use coco | |
| db.users.update({'name':'lingfohn'},{$set:{'earned.gems':100, permissions:["godmode","admin"]}},true,false); | |
| exit | |
| exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment