Skip to content

Commit 81e1161

Browse files
authored
Merge pull request #1340 from wish-oss/glance-template
refactor: update glance template
2 parents 9aa13c5 + 609fea7 commit 81e1161

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

apps/dokploy/templates/glance/docker-compose.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ services:
22
glance:
33
image: glanceapp/glance
44
volumes:
5-
- ../files/app/glance.yml:/app/glance.yml
5+
- ../files/app/config/:/app/config
6+
- ../files/app/assets:/app/assets
7+
# Optionally, also mount docker socket if you want to use the docker containers widget
8+
# - /var/run/docker.sock:/var/run/docker.sock:ro
69
ports:
710
- 8080
8-
restart: unless-stopped
11+
env_file: .env

apps/dokploy/templates/glance/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function generate(schema: Schema): Template {
1717

1818
const mounts: Template["mounts"] = [
1919
{
20-
filePath: "/app/glance.yml",
20+
filePath: "/app/config/glance.yml",
2121
content: `
2222
branding:
2323
hide-footer: true

0 commit comments

Comments
 (0)