Skip to content

Commit

Permalink
ckan (#5), ckan-docker (#9): deprecate use of docker-compose to deplo…
Browse files Browse the repository at this point in the history
…y CKAN (closes #9)
  • Loading branch information
fititnt committed Apr 19, 2020
1 parent a077f5c commit 238cf85
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
7 changes: 7 additions & 0 deletions ansible/playbooks/ckan-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@
- hosts: all
roles:
- ckan

post_tasks:
- name: "CKAN | Stop/disable startup of NGinx (it is installed by default when using official deb packages)"
service:
name: nginx
enabled: no
state: stopped
5 changes: 3 additions & 2 deletions ansible/playbooks/docker-ckan-stack-start.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
# FILE: playbooks/docker-ckan-stack-start.yml
# LICENSE: Public Domain
# DESCRIPTION:
# DESCRIPTION: Install CKAN with docker-compose
#
# REQUIRES: pip install docker
# DEPRECATED: WARNING! This file is deprecated and not used. It will
# stay here just as reference (fititnt, 2020-04-12 16:02 BRT)

# ansible-playbook -i inventories/etica.dev playbooks/docker-ckan-stack-start.yml

Expand Down
3 changes: 3 additions & 0 deletions ansible/playbooks/roles/ckan/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# SEE: https://docs.ckan.org/en/2.8/maintaining/installing/install-from-package.html
# SEE: https://docs.ckan.org/en/2.8/maintaining/installing/install-from-source.html

# tail -f /var/log/apache2/ckan_default.error.log
# vim /etc/ckan/default/production.ini

- name: Ubuntu?
fail:
msg: "This role as designed to only Ubuntu 18.04. Please look for other alternatives"
Expand Down
7 changes: 6 additions & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# docker

> @TODO: implement this part (fititnt, 2020-04-05 08:28 BRT)
See [full-stack/docker-compose.yml](full-stack/docker-compose.yml) for the HXL
main stack.

Note: the [ckan-stack/docker-compose.yml](ckan-stack/docker-compose.yml), with
softwares related to CKAN installed inside docker containers, was a draft and
not used.

## Uninstall

Expand Down
3 changes: 3 additions & 0 deletions docker/ckan-stack/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
# FILE: docker/full-stack/docker-compose.yml
# LICENSE: Public Domain
#
# DEPRECATED: WARNING! This file is deprecated and not used. It will
# stay here just as reference (fititnt, 2020-04-12 16:02 BRT)

version: "3"

Expand Down

0 comments on commit 238cf85

Please sign in to comment.