Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker installation - theme does not activate #14

Open
m-stefanski opened this issue Nov 7, 2023 · 1 comment
Open

Docker installation - theme does not activate #14

m-stefanski opened this issue Nov 7, 2023 · 1 comment

Comments

@m-stefanski
Copy link

I have my Gogs instance deployed in Docker using following environment.yaml file:

version: '3'

services:
  gogs:
    image: gogs/gogs
    volumes:
     - /volume1/docker/gogs:/data
    ports:
      - 3000:3000
      - 3022:22

I have followed installation instructions (head.tmpl creation, copying files), but new theme fails to show after docker restart.

I have tried putting "custom" folder in two locations:

/volume1/docker/gogs/custom
/volume1/docker/gogs/gogs/custom

And its structure is as follows:

./custom/public/* # mv and cp results
./custom/templates/inject/head.tmpl

I restart gogs, no new theme is visible.

I feel like I am missing something obvious, or am very bad at reading the instructions. Help please?

@Kos-M
Copy link
Owner

Kos-M commented Nov 13, 2023

Hey sorry for late reply , and thanks for your interest in these themes.
There is already quickstart with gogs in docker and the theme activated out of the box.

Follow this to use in docker:
( inside a dir in your filesystem)

check localhost:3000 to see installation page with theme activated , cheers !
check docker-compose.yml to understand better how to use it in your setup.

Let me know if it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants