Skip to content

Commit

Permalink
cicd c3nav with config files etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Aug 19, 2024
1 parent b810904 commit c59f472
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SPDX-FileCopyrightText: 2024 NOI Techpark <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0

# They don't tag their images properly, this is just the most recent commit at time of writing
C3NAV_TAG=897cf68ccc1731372ee3fba6044b6292f7bdc3d3
C3NAV_DOMAIN=c3nav.docker.localhost

COMPOSE_FILE=c3nav.docker-compose.yml
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.env
data/*
!data/c3nav.cfg
.vscode
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

# Initially Copied from https://github.com/c3nav/c3nav/blob/034f8fe4633be3a982e94fd9e2f1fbc6d3dfafe1/deployment/docker/compose.yaml

version: '3'
name: c3nav

x-restart-policy: &restart-policy
Expand Down Expand Up @@ -141,6 +140,4 @@ services:

volumes:
c3nav-postgres:
external: true
c3nav-redis:
external: true
6 changes: 6 additions & 0 deletions data/c3nav.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: 2024 NOI Techpark <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0

[c3nav]
svg_renderer=rsvg
4 changes: 3 additions & 1 deletion infrastructure/ansible/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
docker_deployment_project_name: '{{ project_name }}'
docker_deployment_release_name: '{{ release_name }}'
docker_deployment_release_files:
- local: ../c3nav.docker-compose.yml
- local: ../../c3nav.docker-compose.yml
remote: docker-compose.yml
- local: ../../.env
remote: .env
- local: ../../data
remote: data

0 comments on commit c59f472

Please sign in to comment.