Skip to content

Commit

Permalink
Add composes files of PP and PROD
Browse files Browse the repository at this point in the history
  • Loading branch information
tristiisch committed Feb 6, 2024
1 parent dddb2ac commit 8a855e4
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

*
!src/
!requirements.txt
!config.exemple.yml

!./.git/HEAD
!./.git/refs
!./.git/logs/HEAD
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,11 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

songs/
songs/*
config.yml
logs/
logs/*
git_info.json
/test/
.docker/
.docker/

!.gitkeep
19 changes: 19 additions & 0 deletions docker-compose.pre-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '3.7'

services:

pyramid:
image: tristiisch/pyramid:pre-prod
volumes:
- ./config.yml:/app/config.yml
- ./logs:/app/logs
- ./songs:/app/songs
restart: always
networks:
- pyramid_pre_prod_network
container_name : pyramid-pre-prod
hostname: pyramid

networks:
pyramid_pre_prod_network:
driver: bridge
19 changes: 19 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '3.7'

services:

pyramid:
image: tristiisch/pyramid:latest
volumes:
- ./config.yml:/app/config.yml
- ./logs:/app/logs
- ./songs:/app/songs
restart: always
networks:
- pyramid_network
container_name : pyramid
hostname: pyramid

networks:
pyramid_network:
driver: bridge
Empty file added logs/.gitkeep
Empty file.
Empty file added songs/.gitkeep
Empty file.

0 comments on commit 8a855e4

Please sign in to comment.