Browse Source

mv-to-infra

pull/4/head
fedy95 4 years ago
parent
commit
dc6b62ef13
  1. 4
      .drone.yml
  2. 1
      .gitignore
  3. 11
      docker-compose.yml
  4. 3
      env/db.env-dist
  5. 5
      env/freshrss_db.env-dist

4
.drone.yml

@ -27,12 +27,12 @@ server:
steps: steps:
- name: release - name: release
commands: commands:
- cd /home/fedy95/experimental/freshrss
- cd /home/fedy95/infra/freshrss
- git pull - git pull
- make restart - make restart
- name: cleanup - name: cleanup
commands: commands:
- cd /home/fedy95/experimental/freshrss
- cd /home/fedy95/infra/freshrss
- make cleanup - make cleanup
trigger: trigger:
branch: branch:

1
.gitignore

@ -1 +0,0 @@
/env/freshrss_db.env

11
docker-compose.yml

@ -16,15 +16,4 @@ services:
ports: ports:
- 7071:80 - 7071:80
restart: unless-stopped restart: unless-stopped
freshrss_db:
image: mariadb:10
container_name: freshrss_db
hostname: freshrss_db
restart: unless-stopped
expose:
- "3306"
env_file:
- ./env/freshrss_db.env
volumes:
- ./etc/freshrss_db/var/lib/mysql:/var/lib/mysql
... ...

3
env/db.env-dist

@ -0,0 +1,3 @@
POSTGRES_DB=freshrss
POSTGRES_USER=
POSTGRES_PASSWORD=

5
env/freshrss_db.env-dist

@ -1,5 +0,0 @@
# gitea_db
MYSQL_DATABASE=
MYSQL_USER=
MYSQL_ROOT_PASSWORD=
MYSQL_PASSWORD=