Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade da progetto padre #1

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Config file per docker compose
  • Loading branch information
agiove committed Jul 6, 2021
commit cc2afca3fe0c0a905b51f5391bccb0f0f2e787d6
36 changes: 36 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: "3.7"
services:
db:
image: icar2021/mysql:5.7_archimista
restart: always
environment:
MYSQL_DATABASE: 'archimista'
MYSQL_ROOT_PASSWORD: 'archipass'
volumes:
- db:/var/lib/mysql
web:
image: icar2021/archimista_web:2021-06-20a
restart: always
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
volumes:
- app_public:/usr/src/app/public
ports:
- "80:3000"
depends_on:
- db
web2:
image: icar2021/archivista_web:2021-06-20a
restart: always
environment:
# URL to Digital Ojects Server
DIGIT_OBJ_HOST_URL: http://localhost
# URL to Group Images Server
GROUP_IMAGES_HOST_URL: http://localhost
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
ports:
- "8080:3000"
depends_on:
- db
volumes:
db:
app_public: