From d62058d1065808e0868668dbb93a3f280e86fb5b Mon Sep 17 00:00:00 2001 From: straumat Date: Tue, 16 Jan 2024 16:03:50 +0100 Subject: [PATCH] Change config --- docker-compose.yml | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 49481767e..856e34b2a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,8 +20,7 @@ services: # ==================================================================================================================== # Database used to store data ( https://hub.docker.com/_/postgres ). royllo-explorer-database-server: - image: library/postgres:16-alpine - restart: always + image: library/postgres:15-alpine networks: - royllo-explorer-network ports: @@ -29,8 +28,6 @@ services: volumes: - royllo-explorer-database-volume:/var/lib/postgresql/data environment: - - TZ=Europe/Paris - - PGTZ=Europe/Paris - POSTGRES_DB=royllo_explorer_database - POSTGRES_USER=royllo_explorer_username - POSTGRES_PASSWORD=Q5QnE5S%Y]qt7 @@ -39,7 +36,6 @@ services: # Storage service used to store content ( https://hub.docker.com/r/minio/minio ). royllo-explorer-storage-server: image: minio/minio:RELEASE.2024-01-01T16-36-33Z.fips - restart: always networks: - royllo-explorer-network ports: @@ -81,21 +77,24 @@ services: networks: - royllo-explorer-network environment: - - TZ=Europe/Paris + # Database configuration. - ROYLLO_EXPLORER_CONTENT_BASE_URL=http://localhost:9000/royllo-explorer - SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver - SPRING_DATASOURCE_URL=jdbc:postgresql://royllo-explorer-database-server/royllo_explorer_database - SPRING_DATASOURCE_USERNAME=royllo_explorer_username - SPRING_DATASOURCE_PASSWORD=Q5QnE5S%Y]qt7 - - MEMPOOL_API_BASE-URL=https://mempool.space/testnet/api - - TAPD_API_BASE-URL=https://testnet.universe.royllo.org:8089 - - TAPD_API_MACAROON=0201047461706402A301030A1004650A26E6928A4C60E007BDA107389E1201301A180A09616464726573736573120472656164120577726974651A150A06617373657473120472656164120577726974651A150A066461656D6F6E120472656164120577726974651A130A046D696E74120472656164120577726974651A150A0670726F6F6673120472656164120577726974651A170A08756E6976657273651204726561641205777269746500000620A28CB923A36B8B86E03C47E5275CA31104A6065401227FFD068BC545DFAB383F - SPRING_LIQUIBASE_ENABLED=true + # Storage configuration. - SPRING_PROFILES_ACTIVE=s3-storage - S3_ACCESS_KEY=royllo - S3_SECRET_KEY=tTX4LD7gYaQbhZ - S3_BUCKET_NAME=royllo-explorer - S3_ENDPOINTURL=http://royllo-explorer-storage-server:9000 + # Mempool configuration. + - MEMPOOL_API_BASE-URL=https://mempool.space/testnet/api + # Taproot configuration. + - TAPD_API_BASE-URL=https://testnet.universe.royllo.org:8089 + - TAPD_API_MACAROON=0201047461706402A301030A1004650A26E6928A4C60E007BDA107389E1201301A180A09616464726573736573120472656164120577726974651A150A06617373657473120472656164120577726974651A150A066461656D6F6E120472656164120577726974651A130A046D696E74120472656164120577726974651A150A0670726F6F6673120472656164120577726974651A170A08756E6976657273651204726561641205777269746500000620A28CB923A36B8B86E03C47E5275CA31104A6065401227FFD068BC545DFAB383F # ==================================================================================================================== # Royllo explorer API server ( https://hub.docker.com/r/royllo/explorer-api ). @@ -108,18 +107,24 @@ services: ports: - "9090:8080" environment: - - TZ=Europe/Paris + # Database configuration. - ROYLLO_EXPLORER_CONTENT_BASE_URL=http://localhost:9000/royllo-explorer - SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver - SPRING_DATASOURCE_URL=jdbc:postgresql://royllo-explorer-database-server/royllo_explorer_database - SPRING_DATASOURCE_USERNAME=royllo_explorer_username - SPRING_DATASOURCE_PASSWORD=Q5QnE5S%Y]qt7 - SPRING_LIQUIBASE_ENABLED=false + # Storage configuration. - SPRING_PROFILES_ACTIVE=s3-storage - S3_ACCESS_KEY=royllo - S3_SECRET_KEY=tTX4LD7gYaQbhZ - S3_BUCKET_NAME=royllo-explorer - S3_ENDPOINTURL=http://royllo-explorer-storage-server:9000 + # Mempool configuration. + - MEMPOOL_API_BASE-URL=https://mempool.space/testnet/api + # Taproot configuration. + - TAPD_API_BASE-URL=https://testnet.universe.royllo.org:8089 + - TAPD_API_MACAROON=0201047461706402A301030A1004650A26E6928A4C60E007BDA107389E1201301A180A09616464726573736573120472656164120577726974651A150A06617373657473120472656164120577726974651A150A066461656D6F6E120472656164120577726974651A130A046D696E74120472656164120577726974651A150A0670726F6F6673120472656164120577726974651A170A08756E6976657273651204726561641205777269746500000620A28CB923A36B8B86E03C47E5275CA31104A6065401227FFD068BC545DFAB383F # ==================================================================================================================== # Royllo explorer web server ( https://hub.docker.com/r/royllo/explorer-web ). @@ -132,15 +137,21 @@ services: ports: - "8080:8080" environment: - - TZ=Europe/Paris + # Database configuration. - ROYLLO_EXPLORER_CONTENT_BASE_URL=http://localhost:9000/royllo-explorer - SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver - SPRING_DATASOURCE_URL=jdbc:postgresql://royllo-explorer-database-server/royllo_explorer_database - SPRING_DATASOURCE_USERNAME=royllo_explorer_username - SPRING_DATASOURCE_PASSWORD=Q5QnE5S%Y]qt7 - SPRING_LIQUIBASE_ENABLED=false + # Storage configuration. - SPRING_PROFILES_ACTIVE=s3-storage - S3_ACCESS_KEY=royllo - S3_SECRET_KEY=tTX4LD7gYaQbhZ - S3_BUCKET_NAME=royllo-explorer - S3_ENDPOINTURL=http://royllo-explorer-storage-server:9000 + # Mempool configuration. + - MEMPOOL_API_BASE-URL=https://mempool.space/testnet/api + # Taproot configuration. + - TAPD_API_BASE-URL=https://testnet.universe.royllo.org:8089 + - TAPD_API_MACAROON=0201047461706402A301030A1004650A26E6928A4C60E007BDA107389E1201301A180A09616464726573736573120472656164120577726974651A150A06617373657473120472656164120577726974651A150A066461656D6F6E120472656164120577726974651A130A046D696E74120472656164120577726974651A150A0670726F6F6673120472656164120577726974651A170A08756E6976657273651204726561641205777269746500000620A28CB923A36B8B86E03C47E5275CA31104A6065401227FFD068BC545DFAB383F \ No newline at end of file