-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ignored file, fix calling twice start_docker_compose
- Loading branch information
Showing
4 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
1 change: 1 addition & 0 deletions
1
src/modules/photoprismpi/filesystem/boot/docker-compose/photoprisim/.env
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
COMPOSE_PROJECT_NAME=photoprisim |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#cloud-config | ||
|
||
# This is the user-data configuration file for cloud-init. By default this sets | ||
# up an initial user called "ubuntu" with password "ubuntu", which must be | ||
# changed at first login. However, many additional actions can be initiated on | ||
# first boot from this file. The cloud-init documentation has more details: | ||
# | ||
# https://cloudinit.readthedocs.io/ | ||
# | ||
# Some additional examples are provided in comments below the default | ||
# configuration. | ||
|
||
# Enable password authentication with the SSH daemon | ||
ssh_pwauth: true | ||
|
||
# On first boot, set the (default) ubuntu user's password to "ubuntu" and | ||
# expire user passwords | ||
chpasswd: | ||
expire: false | ||
list: | ||
- ubuntu:ubuntu | ||
|
||
## Add users and groups to the system, and import keys with the ssh-import-id | ||
## utility | ||
#groups: | ||
#- robot: [robot] | ||
#- robotics: [robot] | ||
#- pi | ||
# | ||
#users: | ||
#- default | ||
#- name: robot | ||
# gecos: Mr. Robot | ||
# primary_group: robot | ||
# groups: users | ||
# ssh_import_id: foobar | ||
# lock_passwd: false | ||
# passwd: $5$hkui88$nvZgIle31cNpryjRfO9uArF7DYiBcWEnjqq7L1AQNN3 | ||
|
||
## Update apt database and upgrade packages on first boot | ||
#package_update: true | ||
#package_upgrade: true | ||
|
||
## Install additional packages on first boot | ||
#packages: | ||
#- pwgen | ||
#- pastebinit | ||
#- [libpython2.7, 2.7.3-0ubuntu3.1] | ||
|
||
## Write arbitrary files to the file-system (including binaries!) | ||
#write_files: | ||
#- path: /etc/default/keyboard | ||
# content: | | ||
# # KEYBOARD configuration file | ||
# # Consult the keyboard(5) manual page. | ||
# XKBMODEL="pc105" | ||
# XKBLAYOUT="gb" | ||
# XKBVARIANT="" | ||
# XKBOPTIONS="ctrl: nocaps" | ||
# permissions: '0644' | ||
# owner: root:root | ||
#- encoding: gzip | ||
# path: /usr/bin/hello | ||
# content: !!binary | | ||
# H4sIAIDb/U8C/1NW1E/KzNMvzuBKTc7IV8hIzcnJVyjPL8pJ4QIA6N+MVxsAAAA= | ||
# owner: root:root | ||
# permissions: '0755' | ||
|
||
## Run arbitrary commands at rc.local like time | ||
runcmd: | ||
#- [ /usr/bin/start_docker_compose, ] | ||
#- [ sh, -xc, "echo $(date) ': hello world!'" ] | ||
#- [ wget, "http://ubuntu.com", -O, /run/mydir/index.html ] | ||
|