update drone container label
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
c83c4de0f2
commit
7148ed89d2
|
@ -49,10 +49,10 @@
|
||||||
- "{{ drone_sqlite_dir }}:/data"
|
- "{{ drone_sqlite_dir }}:/data"
|
||||||
env_file: /etc/drone/drone-server.env
|
env_file: /etc/drone/drone-server.env
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
traefik.enable: "true"
|
||||||
- "traefik.basic.frontend.rule=Host:{{ drone_server_host }}"
|
traefik.basic.frontend.rule: "Host:{{ drone_server_host }}"
|
||||||
- "traefik.basic.port=80"
|
traefik.basic.port: "80"
|
||||||
- "traefik.basic.protocol=http"
|
traefik.basic.protocol: "http"
|
||||||
when: ((drone_server_config is defined and drone_server_config.changed) or
|
when: ((drone_server_config is defined and drone_server_config.changed) or
|
||||||
(drone_sqlite_folder is defined and drone_sqlite_folder.changed)) and
|
(drone_sqlite_folder is defined and drone_sqlite_folder.changed)) and
|
||||||
drone_database_driver == "sqlite"
|
drone_database_driver == "sqlite"
|
||||||
|
@ -74,10 +74,10 @@
|
||||||
- "{{ drone_sqlite_dir }}:/data"
|
- "{{ drone_sqlite_dir }}:/data"
|
||||||
env_file: /etc/drone/drone-server.env
|
env_file: /etc/drone/drone-server.env
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
traefik.enable: "true"
|
||||||
- "traefik.basic.frontend.rule=Host:{{ drone_server_host }}"
|
traefik.basic.frontend.rule: "Host:{{ drone_server_host }}"
|
||||||
- "traefik.basic.port=80"
|
traefik.basic.port: "80"
|
||||||
- "traefik.basic.protocol=http"
|
traefik.basic.protocol: "http"
|
||||||
when: ((drone_server_config is defined and drone_server_config.changed) or
|
when: ((drone_server_config is defined and drone_server_config.changed) or
|
||||||
(drone_postgres_data_dir is defined and drone_postgres_data_dir.changed)) and
|
(drone_postgres_data_dir is defined and drone_postgres_data_dir.changed)) and
|
||||||
drone_database_driver != "sqlite"
|
drone_database_driver != "sqlite"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user